diff options
Diffstat (limited to 'test/Transforms/AlignmentFromAssumptions/simple32.ll')
-rw-r--r-- | test/Transforms/AlignmentFromAssumptions/simple32.ll | 44 |
1 files changed, 22 insertions, 22 deletions
diff --git a/test/Transforms/AlignmentFromAssumptions/simple32.ll b/test/Transforms/AlignmentFromAssumptions/simple32.ll index 166e7ef..2edc2e9 100644 --- a/test/Transforms/AlignmentFromAssumptions/simple32.ll +++ b/test/Transforms/AlignmentFromAssumptions/simple32.ll @@ -7,11 +7,11 @@ entry: %maskedptr = and i64 %ptrint, 31 %maskcond = icmp eq i64 %maskedptr, 0 tail call void @llvm.assume(i1 %maskcond) - %0 = load i32* %a, align 4 + %0 = load i32, i32* %a, align 4 ret i32 %0 ; CHECK-LABEL: @foo -; CHECK: load i32* {{[^,]+}}, align 32 +; CHECK: load i32, i32* {{[^,]+}}, align 32 ; CHECK: ret i32 } @@ -22,12 +22,12 @@ entry: %maskedptr = and i64 %offsetptr, 31 %maskcond = icmp eq i64 %maskedptr, 0 tail call void @llvm.assume(i1 %maskcond) - %arrayidx = getelementptr inbounds i32* %a, i64 2 - %0 = load i32* %arrayidx, align 4 + %arrayidx = getelementptr inbounds i32, i32* %a, i64 2 + %0 = load i32, i32* %arrayidx, align 4 ret i32 %0 ; CHECK-LABEL: @foo2 -; CHECK: load i32* {{[^,]+}}, align 16 +; CHECK: load i32, i32* {{[^,]+}}, align 16 ; CHECK: ret i32 } @@ -38,12 +38,12 @@ entry: %maskedptr = and i64 %offsetptr, 31 %maskcond = icmp eq i64 %maskedptr, 0 tail call void @llvm.assume(i1 %maskcond) - %arrayidx = getelementptr inbounds i32* %a, i64 -1 - %0 = load i32* %arrayidx, align 4 + %arrayidx = getelementptr inbounds i32, i32* %a, i64 -1 + %0 = load i32, i32* %arrayidx, align 4 ret i32 %0 ; CHECK-LABEL: @foo2a -; CHECK: load i32* {{[^,]+}}, align 32 +; CHECK: load i32, i32* {{[^,]+}}, align 32 ; CHECK: ret i32 } @@ -53,11 +53,11 @@ entry: %maskedptr = and i64 %ptrint, 31 %maskcond = icmp eq i64 %maskedptr, 0 tail call void @llvm.assume(i1 %maskcond) - %0 = load i32* %a, align 4 + %0 = load i32, i32* %a, align 4 ret i32 %0 ; CHECK-LABEL: @goo -; CHECK: load i32* {{[^,]+}}, align 32 +; CHECK: load i32, i32* {{[^,]+}}, align 32 ; CHECK: ret i32 } @@ -72,8 +72,8 @@ entry: for.body: ; preds = %entry, %for.body %indvars.iv = phi i64 [ 0, %entry ], [ %indvars.iv.next, %for.body ] %r.06 = phi i32 [ 0, %entry ], [ %add, %for.body ] - %arrayidx = getelementptr inbounds i32* %a, i64 %indvars.iv - %0 = load i32* %arrayidx, align 4 + %arrayidx = getelementptr inbounds i32, i32* %a, i64 %indvars.iv + %0 = load i32, i32* %arrayidx, align 4 %add = add nsw i32 %0, %r.06 %indvars.iv.next = add i64 %indvars.iv, 8 %1 = trunc i64 %indvars.iv.next to i32 @@ -85,7 +85,7 @@ for.end: ; preds = %for.body ret i32 %add.lcssa ; CHECK-LABEL: @hoo -; CHECK: load i32* %arrayidx, align 32 +; CHECK: load i32, i32* %arrayidx, align 32 ; CHECK: ret i32 %add.lcssa } @@ -100,8 +100,8 @@ entry: for.body: ; preds = %entry, %for.body %indvars.iv = phi i64 [ 4, %entry ], [ %indvars.iv.next, %for.body ] %r.06 = phi i32 [ 0, %entry ], [ %add, %for.body ] - %arrayidx = getelementptr inbounds i32* %a, i64 %indvars.iv - %0 = load i32* %arrayidx, align 4 + %arrayidx = getelementptr inbounds i32, i32* %a, i64 %indvars.iv + %0 = load i32, i32* %arrayidx, align 4 %add = add nsw i32 %0, %r.06 %indvars.iv.next = add i64 %indvars.iv, 8 %1 = trunc i64 %indvars.iv.next to i32 @@ -113,7 +113,7 @@ for.end: ; preds = %for.body ret i32 %add.lcssa ; CHECK-LABEL: @joo -; CHECK: load i32* %arrayidx, align 16 +; CHECK: load i32, i32* %arrayidx, align 16 ; CHECK: ret i32 %add.lcssa } @@ -128,8 +128,8 @@ entry: for.body: ; preds = %entry, %for.body %indvars.iv = phi i64 [ 0, %entry ], [ %indvars.iv.next, %for.body ] %r.06 = phi i32 [ 0, %entry ], [ %add, %for.body ] - %arrayidx = getelementptr inbounds i32* %a, i64 %indvars.iv - %0 = load i32* %arrayidx, align 4 + %arrayidx = getelementptr inbounds i32, i32* %a, i64 %indvars.iv + %0 = load i32, i32* %arrayidx, align 4 %add = add nsw i32 %0, %r.06 %indvars.iv.next = add i64 %indvars.iv, 4 %1 = trunc i64 %indvars.iv.next to i32 @@ -141,7 +141,7 @@ for.end: ; preds = %for.body ret i32 %add.lcssa ; CHECK-LABEL: @koo -; CHECK: load i32* %arrayidx, align 16 +; CHECK: load i32, i32* %arrayidx, align 16 ; CHECK: ret i32 %add.lcssa } @@ -156,8 +156,8 @@ entry: for.body: ; preds = %entry, %for.body %indvars.iv = phi i64 [ -4, %entry ], [ %indvars.iv.next, %for.body ] %r.06 = phi i32 [ 0, %entry ], [ %add, %for.body ] - %arrayidx = getelementptr inbounds i32* %a, i64 %indvars.iv - %0 = load i32* %arrayidx, align 4 + %arrayidx = getelementptr inbounds i32, i32* %a, i64 %indvars.iv + %0 = load i32, i32* %arrayidx, align 4 %add = add nsw i32 %0, %r.06 %indvars.iv.next = add i64 %indvars.iv, 4 %1 = trunc i64 %indvars.iv.next to i32 @@ -169,7 +169,7 @@ for.end: ; preds = %for.body ret i32 %add.lcssa ; CHECK-LABEL: @koo2 -; CHECK: load i32* %arrayidx, align 16 +; CHECK: load i32, i32* %arrayidx, align 16 ; CHECK: ret i32 %add.lcssa } |