Return false from runOnFunction if nothing changed. Curiously
we already returned a bool from detectAndFoldOffset, but didn't
use it.
Fix a couple breaks after returns that I saw while auditing
detectAndFoldOffset.
Paths
| Differential D107303
[RISCV] Indicate that RISCVMergeBaseOffsetOpt preserves the CFG. ClosedPublic Authored by craig.topper on Aug 2 2021, 12:36 PM.
Details Summary Return false from runOnFunction if nothing changed. Curiously Fix a couple breaks after returns that I saw while auditing
Diff Detail
Event TimelineHerald added subscribers: StephenFan, vkmr, apazos and 21 others. · View Herald TranscriptAug 2 2021, 12:36 PM This revision is now accepted and ready to land.Aug 3 2021, 1:43 AM Closed by commit rGdeaeb16d88e9: [RISCV] Indicate that RISCVMergeBaseOffsetOpt preserves the CFG. (authored by craig.topper). · Explain WhyAug 3 2021, 8:42 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 363756 llvm/lib/Target/RISCV/RISCVMergeBaseOffset.cpp
|