[PATCH] D60673: [SimplifyCFG] Improove and speed up ReduceSwitchRange

Nikita Popov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 15 06:38:03 PDT 2019


nikic added inline comments.


================
Comment at: lib/Transforms/Utils/SimplifyCFG.cpp:5579
+  auto *Rotr = Builder.Insert(CallInst::Create(Fshr, {Sub, Sub, ShiftC}));
+  SI->replaceUsesOfWith(SI->getCondition(), Rotr);
 
----------------
Just looking at this, shouldn't there be some changes to existing tests?


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

https://reviews.llvm.org/D60673





More information about the llvm-commits mailing list