summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/PowerPC
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2010-03-10 03:07:41 +0000
committerEvan Cheng <evan.cheng@apple.com>2010-03-10 03:07:41 +0000
commit80ad1137313d04a2b2ecdf92e37a139db7094f3a (patch)
tree12ab58a6089c066458e00b00ee8861ace55bd9a8 /llvm/test/CodeGen/PowerPC
parent02b99d6b7c49d8880d29114e4e1554bb4b55923e (diff)
downloadbcm5719-llvm-80ad1137313d04a2b2ecdf92e37a139db7094f3a.tar.gz
bcm5719-llvm-80ad1137313d04a2b2ecdf92e37a139db7094f3a.zip
Enable machine cse pass.
llvm-svn: 98132
Diffstat (limited to 'llvm/test/CodeGen/PowerPC')
-rw-r--r--llvm/test/CodeGen/PowerPC/indirectbr.ll12
1 files changed, 6 insertions, 6 deletions
diff --git a/llvm/test/CodeGen/PowerPC/indirectbr.ll b/llvm/test/CodeGen/PowerPC/indirectbr.ll
index 2094e10a587..233d923695a 100644
--- a/llvm/test/CodeGen/PowerPC/indirectbr.ll
+++ b/llvm/test/CodeGen/PowerPC/indirectbr.ll
@@ -43,13 +43,13 @@ L2: ; preds = %L3, %bb2
L1: ; preds = %L2, %bb2
%res.3 = phi i32 [ %phitmp, %L2 ], [ 2, %bb2 ] ; <i32> [#uses=1]
-; PIC: addis r5, r4, ha16(L_BA4__foo_L5-"L1$pb")
+; PIC: addis r4, r4, ha16(L_BA4__foo_L5-"L1$pb")
; PIC: li r6, lo16(L_BA4__foo_L5-"L1$pb")
-; PIC: add r5, r5, r6
-; PIC: stw r5
-; STATIC: li r4, lo16(L_BA4__foo_L5)
-; STATIC: addis r4, r4, ha16(L_BA4__foo_L5)
-; STATIC: stw r4
+; PIC: add r4, r4, r6
+; PIC: stw r4
+; STATIC: li r5, lo16(L_BA4__foo_L5)
+; STATIC: addis r5, r5, ha16(L_BA4__foo_L5)
+; STATIC: stw r5
store i8* blockaddress(@foo, %L5), i8** @nextaddr, align 4
ret i32 %res.3
}
OpenPOWER on IntegriCloud