[PATCH] D53744: [SimpleLoopUnswitch] Unswitch by experimental.guard intrinsics
Max Kazantsev via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Oct 26 02:42:15 PDT 2018
mkazantsev added inline comments.
================
Comment at: lib/Transforms/Scalar/SimpleLoopUnswitch.cpp:2479
+ BestUnswitchTI =
+ turnGuardIntoBranch(cast<IntrinsicInst>(BestUnswitchTI), L, DT, LI);
+
----------------
I just realized that we should add the newly-created exit block to the array here.
https://reviews.llvm.org/D53744
More information about the llvm-commits
mailing list