Without this change _term instructions can be removed during
critical edge splitting.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
LGTM, given that it matches similar logic in analyzeBranch.
As a further cleanup maybe both analyzeBranch and removeBranch should stop using getFirstTerminator, and instead just look for one or two branch instructions right at the end of MBB?