[PATCH] D34029: Infer lowest bits of an integer Multiply when the low bits of the operands are known

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 19 10:57:27 PDT 2017


craig.topper added inline comments.


================
Comment at: lib/Analysis/ValueTracking.cpp:356
+  // and multiplying them together.
+  APInt Bottom0 = Known.One & ~Known.Zero;
+  APInt Bottom1 = Known2.One & ~Known2.Zero;
----------------
Is this And necessary? The Zero bits should be mutex with the One bits here.


https://reviews.llvm.org/D34029





More information about the llvm-commits mailing list