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.ll6
1 files changed, 2 insertions, 4 deletions
diff --git a/llvm/test/CodeGen/PowerPC/select_const.ll b/llvm/test/CodeGen/PowerPC/select_const.ll
index 8e0c482bab7..461e0eb239c 100644
--- a/llvm/test/CodeGen/PowerPC/select_const.ll
+++ b/llvm/test/CodeGen/PowerPC/select_const.ll
@@ -992,13 +992,11 @@ define double @sel_constants_frem_constant(i1 %cond) {
; ALL-NEXT: bc 12, 1, .LBB48_2
; ALL-NEXT: # %bb.1:
; ALL-NEXT: addis 3, 2, .LCPI48_0@toc@ha
-; ALL-NEXT: addi 3, 3, .LCPI48_0@toc@l
-; ALL-NEXT: lfdx 1, 0, 3
+; ALL-NEXT: lfd 1, .LCPI48_0@toc@l(3)
; ALL-NEXT: blr
; ALL-NEXT: .LBB48_2:
; ALL-NEXT: addis 3, 2, .LCPI48_1@toc@ha
-; ALL-NEXT: addi 3, 3, .LCPI48_1@toc@l
-; ALL-NEXT: lfsx 1, 0, 3
+; ALL-NEXT: lfs 1, .LCPI48_1@toc@l(3)
; ALL-NEXT: blr
%sel = select i1 %cond, double -4.0, double 23.3
%bo = frem double %sel, 5.1
OpenPOWER on IntegriCloud