[AVX512] adding PROLQ and PROLD Intrinsics
[oota-llvm.git] / test / CodeGen / X86 / avoid-loop-align.ll
index 7957db72fe6d55e3d1d16e2533c812cd99032dac..d82cf9418e64fca1e4eea122387798cedaf327f7 100644 (file)
@@ -11,7 +11,7 @@
 
 define i8* @test(i8* %Q, i32* %L) nounwind {
 entry:
-       %tmp = tail call i32 (...)* @foo() nounwind             ; <i32> [#uses=2]
+       %tmp = tail call i32 (...) @foo() nounwind              ; <i32> [#uses=2]
        %tmp1 = inttoptr i32 %tmp to i8*                ; <i8*> [#uses=1]
        br label %bb1
 
@@ -21,8 +21,8 @@ bb:           ; preds = %bb1, %bb1
 
 bb1:           ; preds = %bb, %entry
        %P.0.rec = phi i32 [ 0, %entry ], [ %indvar.next, %bb ]         ; <i32> [#uses=2]
-       %P.0 = getelementptr i8* %tmp1, i32 %P.0.rec            ; <i8*> [#uses=3]
-       %tmp2 = load i8* %P.0, align 1          ; <i8> [#uses=1]
+       %P.0 = getelementptr i8, i8* %tmp1, i32 %P.0.rec                ; <i8*> [#uses=3]
+       %tmp2 = load i8, i8* %P.0, align 1              ; <i8> [#uses=1]
        switch i8 %tmp2, label %bb4 [
                i8 12, label %bb
                i8 42, label %bb
@@ -31,7 +31,7 @@ bb1:          ; preds = %bb, %entry
 bb4:           ; preds = %bb1
        %tmp3 = ptrtoint i8* %P.0 to i32                ; <i32> [#uses=1]
        %tmp4 = sub i32 %tmp3, %tmp             ; <i32> [#uses=1]
-       %tmp5 = getelementptr [100 x i32]* @A, i32 0, i32 %tmp4         ; <i32*> [#uses=1]
+       %tmp5 = getelementptr [100 x i32], [100 x i32]* @A, i32 0, i32 %tmp4            ; <i32*> [#uses=1]
        store i32 4, i32* %tmp5, align 4
        ret i8* %P.0
 }