BasicBlock::isLegalToHoistInto() asserts if block does not
have successors. The case is degenarate but assertion still
needs to be avoided.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D81674
Fixed assertion in SROA if block has ho successors ClosedPublic Authored by rampitec on Jun 11 2020, 10:53 AM.
Details Summary BasicBlock::isLegalToHoistInto() asserts if block does not
Diff Detail
Event Timeline
rampitec marked an inline comment as done. This revision is now accepted and ready to land.Jun 11 2020, 2:57 PM Closed by commit rGa98d618f6e5f: Fixed assertion in SROA if block has ho successors (authored by rampitec). · Explain WhyJun 11 2020, 3:28 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 270249 llvm/lib/Transforms/Scalar/SROA.cpp
llvm/test/Transforms/SROA/phi-gep.ll
|
succ_empty?