[PATCH] D27327: [InstCombine] Fix to switch narrowing

Sanjoy Das via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Jan 29 17:35:45 PST 2022


sanjoy resigned from this revision.
sanjoy added inline comments.


================
Comment at: lib/Transforms/InstCombine/InstructionCombining.cpp:2247
+         ++i) {
+      ConstantInt *CaseVal = i.getCaseValue();
+      Constant *LHS = CaseVal;
----------------
Range-for?


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D27327/new/

https://reviews.llvm.org/D27327



More information about the llvm-commits mailing list