[PATCH] [ValueTracking] refactor: extract method noCommonSetBits

Bjarke Hammersholt Roune broune at google.com
Thu May 14 11:22:11 PDT 2015


LGTM


================
Comment at: test/Transforms/SeparateConstOffsetFromGEP/NVPTX/value-tracking-domtree.ll:17
@@ +16,3 @@
+; We should treat (i | 3) as (i + 3) because i is guaranteed to be 4 and
+; does not share any set bits as 3.
+define float* @guarded_or(float* %input, i64 %i) {
----------------
to be 4 and does not share any set bits as 3. -> to be 4, which does not share any set bits with 3.

http://reviews.llvm.org/D9734

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/






More information about the llvm-commits mailing list