diff options
Diffstat (limited to 'test/CodeGen/PowerPC/anon_aggr.ll')
-rw-r--r-- | test/CodeGen/PowerPC/anon_aggr.ll | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/test/CodeGen/PowerPC/anon_aggr.ll b/test/CodeGen/PowerPC/anon_aggr.ll index 6c4f140..e899cfa 100644 --- a/test/CodeGen/PowerPC/anon_aggr.ll +++ b/test/CodeGen/PowerPC/anon_aggr.ll @@ -51,8 +51,8 @@ unequal: define i8* @func2({ i64, i8* } %array1, %tarray* byval %array2) { entry: %array1_ptr = extractvalue {i64, i8* } %array1, 1 - %tmp = getelementptr inbounds %tarray* %array2, i32 0, i32 1 - %array2_ptr = load i8** %tmp + %tmp = getelementptr inbounds %tarray, %tarray* %array2, i32 0, i32 1 + %array2_ptr = load i8*, i8** %tmp %cond = icmp eq i8* %array1_ptr, %array2_ptr br i1 %cond, label %equal, label %unequal equal: @@ -93,10 +93,10 @@ unequal: define i8* @func3({ i64, i8* }* byval %array1, %tarray* byval %array2) { entry: - %tmp1 = getelementptr inbounds { i64, i8* }* %array1, i32 0, i32 1 - %array1_ptr = load i8** %tmp1 - %tmp2 = getelementptr inbounds %tarray* %array2, i32 0, i32 1 - %array2_ptr = load i8** %tmp2 + %tmp1 = getelementptr inbounds { i64, i8* }, { i64, i8* }* %array1, i32 0, i32 1 + %array1_ptr = load i8*, i8** %tmp1 + %tmp2 = getelementptr inbounds %tarray, %tarray* %array2, i32 0, i32 1 + %array2_ptr = load i8*, i8** %tmp2 %cond = icmp eq i8* %array1_ptr, %array2_ptr br i1 %cond, label %equal, label %unequal equal: @@ -140,8 +140,8 @@ define i8* @func4(i64 %p1, i64 %p2, i64 %p3, i64 %p4, { i64, i8* } %array1, %tarray* byval %array2) { entry: %array1_ptr = extractvalue {i64, i8* } %array1, 1 - %tmp = getelementptr inbounds %tarray* %array2, i32 0, i32 1 - %array2_ptr = load i8** %tmp + %tmp = getelementptr inbounds %tarray, %tarray* %array2, i32 0, i32 1 + %array2_ptr = load i8*, i8** %tmp %cond = icmp eq i8* %array1_ptr, %array2_ptr br i1 %cond, label %equal, label %unequal equal: @@ -165,7 +165,7 @@ unequal: ; DARWIN32: lwz r[[REG3:[0-9]+]], 108(r1) ; DARWIN32: mr r[[REG2:[0-9]+]], r[[REG4]] ; DARWIN32: cmplw cr{{[0-9]+}}, r[[REG4]], r[[REG3]] -; DARWIN32: stw r[[REG4]], -[[OFFSET1:[0-9]+]] +; DARWIN32: stw r[[REG2]], -[[OFFSET1:[0-9]+]] ; DARWIN32: stw r[[REG3]], -[[OFFSET2:[0-9]+]] ; DARWIN32: lwz r[[REG1]], -[[OFFSET1]] ; DARWIN32: lwz r[[REG1]], -[[OFFSET2]] |