Passes before hardware loop insertion change the loop to a form which is not a hardware loop candidate (return early before checking the ctr clobbers). And the PHI in the loop exit block is also optimized away. This breaks the previous test point when the case was committed. Fixing this by running this case just before hardware loop insertion pass.
Details
Details
- Reviewers
nemanjai - Group Reviewers
Restricted Project - Commits
- rGdd0edc876cfe: [PowerPC][NFC] add an option to keep the test point
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
LGTM.
llvm/test/CodeGen/PowerPC/pr48527.ll | ||
---|---|---|
2 | Please add a note such as: ; NOTE: this needs to run starting at HW loops to ensure that ; the original loop does not end up producing a HW loop. If ; other passes are run prior, the loop will be transformed. |
Please add a note such as: