This is a first step towards simplifying the transform interface to be less error prone. The basic idea is that querying SCEV is cheap (since it's cached) and we can just check for properties related to branch folding in the transform method instead of relying on the heuristic part to pass everything in correctly.
Details
Details
Summary
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Herald added subscribers: javed.absar, zzheng, bollu and 2 others. · View Herald TranscriptJun 2 2021, 6:20 PM
reames mentioned this in D103620: [LoopUnroll] Eliminate PreserveCondBr parameter and fix a bug in the process.Jun 3 2021, 8:21 AM
reames added a child revision: D103620: [LoopUnroll] Eliminate PreserveCondBr parameter and fix a bug in the process.
reames added a parent revision: D103561: [LoopUnroll] Reorder code to max dom tree update more obvious [nfc].
This revision is now accepted and ready to land.Jun 3 2021, 9:27 AM
This revision was landed with ongoing or failed builds.Jun 3 2021, 10:33 AM
Closed by commit rG44d70d298acc: [LoopUnroll] Eliminate PreserveOnlyFirst parameter [nfc] (authored by reames). · Explain Why
This revision was automatically updated to reflect the committed changes.