[PATCH] D22326: [JumpThreading] PRE unordered loads

David Majnemer via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 13 17:38:05 PDT 2016


majnemer added a subscriber: majnemer.

================
Comment at: lib/Transforms/Scalar/JumpThreading.cpp:927
@@ -926,2 +926,3 @@
 bool JumpThreadingPass::SimplifyPartiallyRedundantLoad(LoadInst *LI) {
   // Don't hack volatile/atomic loads.
+  if (!LI->isUnordered()) return false;
----------------
This comment seems wrong now.


http://reviews.llvm.org/D22326





More information about the llvm-commits mailing list