[PATCH] D21725: [LoopUnswitch] Unswitch on conditions feeding into guards
David Majnemer via llvm-commits
llvm-commits at lists.llvm.org
Sat Jun 25 01:43:25 PDT 2016
majnemer added inline comments.
================
Comment at: lib/Transforms/Scalar/LoopUnswitch.cpp:532
@@ +531,3 @@
+
+ SmallVector<IntrinsicInst *, 4> Guards;
+
----------------
Hmm, does switching to a raw pointer help? In the even in which the guard was cloned and destroyed, the guard in your list would be a bad pointer.
http://reviews.llvm.org/D21725
More information about the llvm-commits
mailing list