[PATCH] D29037: Constant fold switch inst when looking for trivial conditions to unswitch on.
Eli Friedman via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Jan 26 14:58:23 PST 2017
efriedma added inline comments.
================
Comment at: lib/Transforms/Scalar/LoopUnswitch.cpp:931
+ }
+ }
+ // The default case is taken.
----------------
Can you use SwitchInst::findCaseValue rather than an explicit loop?
https://reviews.llvm.org/D29037
More information about the llvm-commits
mailing list