diff options
Diffstat (limited to 'llvm/test/CodeGen/PowerPC/anon_aggr.ll')
-rw-r--r-- | llvm/test/CodeGen/PowerPC/anon_aggr.ll | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/llvm/test/CodeGen/PowerPC/anon_aggr.ll b/llvm/test/CodeGen/PowerPC/anon_aggr.ll index 90497a2a418..1a25f4bfbfe 100644 --- a/llvm/test/CodeGen/PowerPC/anon_aggr.ll +++ b/llvm/test/CodeGen/PowerPC/anon_aggr.ll @@ -52,7 +52,7 @@ define i8* @func2({ i64, i8* } %array1, %tarray* byval %array2) { entry: %array1_ptr = extractvalue {i64, i8* } %array1, 1 %tmp = getelementptr inbounds %tarray, %tarray* %array2, i32 0, i32 1 - %array2_ptr = load i8** %tmp + %array2_ptr = load i8*, i8** %tmp %cond = icmp eq i8* %array1_ptr, %array2_ptr br i1 %cond, label %equal, label %unequal equal: @@ -94,9 +94,9 @@ unequal: define i8* @func3({ i64, i8* }* byval %array1, %tarray* byval %array2) { entry: %tmp1 = getelementptr inbounds { i64, i8* }, { i64, i8* }* %array1, i32 0, i32 1 - %array1_ptr = load i8** %tmp1 + %array1_ptr = load i8*, i8** %tmp1 %tmp2 = getelementptr inbounds %tarray, %tarray* %array2, i32 0, i32 1 - %array2_ptr = load i8** %tmp2 + %array2_ptr = load i8*, i8** %tmp2 %cond = icmp eq i8* %array1_ptr, %array2_ptr br i1 %cond, label %equal, label %unequal equal: @@ -141,7 +141,7 @@ define i8* @func4(i64 %p1, i64 %p2, i64 %p3, i64 %p4, entry: %array1_ptr = extractvalue {i64, i8* } %array1, 1 %tmp = getelementptr inbounds %tarray, %tarray* %array2, i32 0, i32 1 - %array2_ptr = load i8** %tmp + %array2_ptr = load i8*, i8** %tmp %cond = icmp eq i8* %array1_ptr, %array2_ptr br i1 %cond, label %equal, label %unequal equal: |