When a switch case is folded into default's case, that's an IR change that should be reported, update ConstantFoldTerminator accordingly.
Details
Details
Diff Detail
Diff Detail
Paths
| Differential D87142
Fix return status of SimplifyCFG ClosedPublic Authored by serge-sans-paille on Sep 4 2020, 6:42 AM.
Details
Summary When a switch case is folded into default's case, that's an IR change that should be reported, update ConstantFoldTerminator accordingly.
Diff Detail Event TimelineThis revision is now accepted and ready to land.Sep 4 2020, 1:27 PM Closed by commit rG3a6f3fc16039: Fix return status of SimplifyCFG (authored by serge-sans-paille). · Explain WhySep 4 2020, 10:54 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 290019 llvm/lib/Transforms/Utils/Local.cpp
llvm/test/Transforms/SimplifyCFG/merge-default.ll
|