[PATCH] D18777: [ValueTracking] An improvement to IR ValueTracking on Non-negative Integers

Li Huang via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 9 12:58:36 PDT 2016


lihuang added inline comments.

================
Comment at: lib/Analysis/ValueTracking.cpp:1255
@@ +1254,3 @@
+            //
+            // (add non-negative, non-negative) --> non-negative
+            // (add negative, negative) --> negative
----------------
Agree, changed to use setBit


https://reviews.llvm.org/D18777





More information about the llvm-commits mailing list