Checking for specific function terminating opcodes
means we don't handle other non-hardcoded ones :)
This should probably be generalized to something
similar to the IsBlockFollowedByDeoptOrUnreachable().
Paths
| Differential D117810
[InstCombine] Instruction sinking: fix check for function terminating block ClosedPublic Authored by lebedev.ri on Jan 20 2022, 10:46 AM.
Details Summary Checking for specific function terminating opcodes This should probably be generalized to something
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Jan 20 2022, 10:56 AM This revision was landed with ongoing or failed builds.Jan 20 2022, 11:42 AM Closed by commit rGba8eb31bd954: [InstCombine] Instruction sinking: fix check for function terminating block (authored by lebedev.ri). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 401694 llvm/lib/Transforms/InstCombine/InstructionCombining.cpp
llvm/test/Transforms/InstCombine/sink-into-resume-block.ll
|