[PATCH] D22238: Reapply "InstCombine: Reduce trunc (shl x, K) width."

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 28 11:32:13 PDT 2016


arsenm added inline comments.

================
Comment at: test/Transforms/InstCombine/cast.ll:990
@@ -989,3 +989,3 @@
   %q = bitcast double* %p to i8*
-  %pp = getelementptr inbounds i8, i8* %q, i64 %o
+  %pp = getelementptr i8, i8* %q, i64 %o
   %r = bitcast i8* %pp to double*
----------------
majnemer wrote:
> This seems like a pessimization.  Any ideas?
This is leftover junk, the test change isn't necessary 


https://reviews.llvm.org/D22238





More information about the llvm-commits mailing list