[InstCombine] Fix SSE2/AVX2 vector logical shift by constant
[oota-llvm.git] / test / Transforms / InstCombine / signed-comparison.ll
index 9a08c6446c528d8f1f5a99b2c3550f3d3df010db..922f4dcb2d4200342c7704e43b94a445bce43f79 100644 (file)
@@ -1,7 +1,7 @@
 ; RUN: opt < %s -instcombine -S > %t
 ; RUN: not grep zext %t
 ; RUN: not grep slt %t
-; RUN: grep {icmp ult} %t
+; RUN: grep "icmp ult" %t
 
 ; Instcombine should convert the zext+slt into a simple ult.
 
@@ -12,8 +12,8 @@ entry:
 bb:
        %indvar = phi i64 [ 0, %entry ], [ %indvar.next, %bb ]
        %t0 = and i64 %indvar, 65535
-       %t1 = getelementptr double* %p, i64 %t0
-       %t2 = load double* %t1, align 8
+       %t1 = getelementptr double, double* %p, i64 %t0
+       %t2 = load double, double* %t1, align 8
        %t3 = fmul double %t2, 2.2
        store double %t3, double* %t1, align 8
        %i.04 = trunc i64 %indvar to i16