[PATCH] D19578: [EarlyCSE] Simplify guard intrinsics

David Majnemer via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 26 20:49:17 PDT 2016


majnemer added a subscriber: majnemer.

================
Comment at: lib/Transforms/Scalar/EarlyCSE.cpp:560
@@ +559,3 @@
+
+      if (match(Cond, m_ConstantInt<1>())) {
+        // Elide guards on true, since operationally they're no-ops.  In the
----------------
Any reason against using `m_One` here?


http://reviews.llvm.org/D19578





More information about the llvm-commits mailing list