[PATCH] D119854: [SimplifyCFG][CVP][PhaseOrdering] Defer lowering switch into an integer range comparison and branch until the end of function simplification pipeline
Nikita Popov via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Feb 16 01:36:32 PST 2022
nikic added a comment.
This looks sensible to me.
Would it be sufficient to only block this transform in the very first (pre-inlining) SimplifyCFG run, which I think would allow IPSCCP to fold it? Or does only CVP handle this case?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D119854/new/
https://reviews.llvm.org/D119854
More information about the llvm-commits
mailing list