Without this change _term instructions can be removed during
critical edge splitting.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Unit Tests
Unit Tests
Time | Test | |
---|---|---|
2,060 ms | x64 debian > libarcher.races::task-dependency.c |
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?