diff options
Diffstat (limited to 'test/Transforms/InstSimplify/noalias-ptr.ll')
-rw-r--r-- | test/Transforms/InstSimplify/noalias-ptr.ll | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/test/Transforms/InstSimplify/noalias-ptr.ll b/test/Transforms/InstSimplify/noalias-ptr.ll index 7693e55..59b1dfa 100644 --- a/test/Transforms/InstSimplify/noalias-ptr.ll +++ b/test/Transforms/InstSimplify/noalias-ptr.ll @@ -26,7 +26,7 @@ define void @_Z2p1v() #0 { %1 = bitcast [10 x i32]* %mStackData to i8* %2 = tail call noalias i8* @_Znam(i64 48) #4 %3 = bitcast i8* %2 to i32* - %4 = getelementptr inbounds [10 x i32]* %mStackData, i64 0, i64 0 + %4 = getelementptr inbounds [10 x i32], [10 x i32]* %mStackData, i64 0, i64 0 %5 = icmp eq i32* %3, %4 br i1 %5, label %7, label %6 @@ -47,7 +47,7 @@ define void @_Z2p1v() #0 { define void @_Z2p2bb(i1 zeroext %b1, i1 zeroext %b2) #0 { %mStackData = alloca [10 x i32], align 16 %1 = bitcast [10 x i32]* %mStackData to i8* - %2 = getelementptr inbounds [10 x i32]* %mStackData, i64 0, i64 0 + %2 = getelementptr inbounds [10 x i32], [10 x i32]* %mStackData, i64 0, i64 0 %3 = select i1 %b1, i32* %2, i32* @g2 %4 = tail call noalias i8* @_Znam(i64 48) #4 %5 = tail call noalias i8* @_Znam(i64 48) #4 @@ -72,7 +72,7 @@ define void @_Z2p2bb(i1 zeroext %b1, i1 zeroext %b2) #0 { define void @_Z2p4bb(i1 zeroext %b1, i1 zeroext %b2) #0 { %mStackData = alloca [10 x i32], align 16 %1 = bitcast [10 x i32]* %mStackData to i8* - %2 = getelementptr inbounds [10 x i32]* %mStackData, i64 0, i64 0 + %2 = getelementptr inbounds [10 x i32], [10 x i32]* %mStackData, i64 0, i64 0 %3 = select i1 %b1, i32* %2, i32* @g3 %4 = tail call noalias i8* @_Znam(i64 48) #4 %5 = tail call noalias i8* @_Znam(i64 48) #4 @@ -97,7 +97,7 @@ define void @_Z2p4bb(i1 zeroext %b1, i1 zeroext %b2) #0 { define void @_Z2p5bb(i1 zeroext %b1, i1 zeroext %b2) #0 { %mStackData = alloca [10 x i32], align 16 %1 = bitcast [10 x i32]* %mStackData to i8* - %2 = getelementptr inbounds [10 x i32]* %mStackData, i64 0, i64 0 + %2 = getelementptr inbounds [10 x i32], [10 x i32]* %mStackData, i64 0, i64 0 %3 = select i1 %b1, i32* %2, i32* @g4 %4 = tail call noalias i8* @_Znam(i64 48) #4 %5 = tail call noalias i8* @_Znam(i64 48) #4 @@ -122,7 +122,7 @@ define void @_Z2p5bb(i1 zeroext %b1, i1 zeroext %b2) #0 { define void @_Z2p6bb(i1 zeroext %b1, i1 zeroext %b2) #0 { %mStackData = alloca [10 x i32], align 16 %1 = bitcast [10 x i32]* %mStackData to i8* - %2 = getelementptr inbounds [10 x i32]* %mStackData, i64 0, i64 0 + %2 = getelementptr inbounds [10 x i32], [10 x i32]* %mStackData, i64 0, i64 0 %3 = select i1 %b1, i32* %2, i32* @g5 %4 = tail call noalias i8* @_Znam(i64 48) #4 %5 = tail call noalias i8* @_Znam(i64 48) #4 @@ -151,7 +151,7 @@ define void @_Z2p6bb(i1 zeroext %b1, i1 zeroext %b2) #0 { define void @_Z4nopebbPi(i1 zeroext %b1, i1 zeroext %b2, i32* readnone %q) #0 { %mStackData = alloca [10 x i32], align 16 %1 = bitcast [10 x i32]* %mStackData to i8* - %2 = getelementptr inbounds [10 x i32]* %mStackData, i64 0, i64 0 + %2 = getelementptr inbounds [10 x i32], [10 x i32]* %mStackData, i64 0, i64 0 %3 = select i1 %b1, i32* %2, i32* %q %4 = tail call noalias i8* @_Znam(i64 48) #4 %5 = tail call noalias i8* @_Znam(i64 48) #4 @@ -176,7 +176,7 @@ define void @_Z4nopebbPi(i1 zeroext %b1, i1 zeroext %b2, i32* readnone %q) #0 { define void @_Z2p3bb(i1 zeroext %b1, i1 zeroext %b2) #0 { %mStackData = alloca [10 x i32], align 16 %1 = bitcast [10 x i32]* %mStackData to i8* - %2 = getelementptr inbounds [10 x i32]* %mStackData, i64 0, i64 0 + %2 = getelementptr inbounds [10 x i32], [10 x i32]* %mStackData, i64 0, i64 0 %3 = select i1 %b1, i32* %2, i32* @g1 %4 = tail call noalias i8* @_Znam(i64 48) #4 %5 = tail call noalias i8* @_Znam(i64 48) #4 @@ -201,7 +201,7 @@ define void @_Z2p3bb(i1 zeroext %b1, i1 zeroext %b2) #0 { define void @_Z2p7bb(i1 zeroext %b1, i1 zeroext %b2) #0 { %mStackData = alloca [10 x i32], align 16 %1 = bitcast [10 x i32]* %mStackData to i8* - %2 = getelementptr inbounds [10 x i32]* %mStackData, i64 0, i64 0 + %2 = getelementptr inbounds [10 x i32], [10 x i32]* %mStackData, i64 0, i64 0 %3 = select i1 %b1, i32* %2, i32* @g6 %4 = tail call noalias i8* @_Znam(i64 48) #4 %5 = tail call noalias i8* @_Znam(i64 48) #4 @@ -228,7 +228,7 @@ define void @_Z2p2v(i32 %c) #0 { %1 = bitcast [10 x i32]* %mStackData to i8* %2 = tail call noalias i8* @_Znam(i64 48) #4 %3 = bitcast i8* %2 to i32* - %4 = getelementptr inbounds [10 x i32]* %mStackData, i64 0, i64 0 + %4 = getelementptr inbounds [10 x i32], [10 x i32]* %mStackData, i64 0, i64 0 %5 = icmp eq i32* %3, %4 br i1 %5, label %7, label %6 |