summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/PowerPC/select_const.ll
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/test/CodeGen/PowerPC/select_const.ll')
-rw-r--r--llvm/test/CodeGen/PowerPC/select_const.ll12
1 files changed, 6 insertions, 6 deletions
diff --git a/llvm/test/CodeGen/PowerPC/select_const.ll b/llvm/test/CodeGen/PowerPC/select_const.ll
index fba4e1a6f10..8e0c482bab7 100644
--- a/llvm/test/CodeGen/PowerPC/select_const.ll
+++ b/llvm/test/CodeGen/PowerPC/select_const.ll
@@ -695,25 +695,25 @@ define i8 @sel_constants_xor_constant(i1 %cond) {
define i8 @sel_constants_shl_constant(i1 %cond) {
; ISEL-LABEL: sel_constants_shl_constant:
; ISEL: # %bb.0:
-; ISEL-NEXT: lis 5, 511
; ISEL-NEXT: lis 4, 2047
+; ISEL-NEXT: lis 5, 511
; ISEL-NEXT: andi. 3, 3, 1
; ISEL-NEXT: ori 3, 4, 65535
-; ISEL-NEXT: ori 12, 5, 65535
+; ISEL-NEXT: ori 4, 5, 65535
; ISEL-NEXT: sldi 3, 3, 5
-; ISEL-NEXT: sldi 4, 12, 7
+; ISEL-NEXT: sldi 4, 4, 7
; ISEL-NEXT: isel 3, 4, 3, 1
; ISEL-NEXT: blr
;
; NO_ISEL-LABEL: sel_constants_shl_constant:
; NO_ISEL: # %bb.0:
-; NO_ISEL-NEXT: lis 5, 511
; NO_ISEL-NEXT: lis 4, 2047
+; NO_ISEL-NEXT: lis 5, 511
; NO_ISEL-NEXT: andi. 3, 3, 1
; NO_ISEL-NEXT: ori 3, 4, 65535
-; NO_ISEL-NEXT: ori 12, 5, 65535
+; NO_ISEL-NEXT: ori 4, 5, 65535
; NO_ISEL-NEXT: sldi 3, 3, 5
-; NO_ISEL-NEXT: sldi 4, 12, 7
+; NO_ISEL-NEXT: sldi 4, 4, 7
; NO_ISEL-NEXT: bc 12, 1, .LBB36_1
; NO_ISEL-NEXT: blr
; NO_ISEL-NEXT: .LBB36_1:
OpenPOWER on IntegriCloud