summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/PowerPC/fp-to-int-to-fp.ll
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/test/CodeGen/PowerPC/fp-to-int-to-fp.ll')
-rw-r--r--llvm/test/CodeGen/PowerPC/fp-to-int-to-fp.ll12
1 files changed, 8 insertions, 4 deletions
diff --git a/llvm/test/CodeGen/PowerPC/fp-to-int-to-fp.ll b/llvm/test/CodeGen/PowerPC/fp-to-int-to-fp.ll
index 942bdf5e028..be55d4ab853 100644
--- a/llvm/test/CodeGen/PowerPC/fp-to-int-to-fp.ll
+++ b/llvm/test/CodeGen/PowerPC/fp-to-int-to-fp.ll
@@ -11,7 +11,8 @@ entry:
ret float %conv1
; FPCVT-LABEL: @fool
-; FPCVT: friz 1, 1
+; FPCVT: fctidz [[REG1:[0-9]+]], 1
+; FPCVT: fcfids 1, [[REG1]]
; FPCVT: blr
; PPC64-LABEL: @fool
@@ -29,7 +30,8 @@ entry:
ret double %conv1
; FPCVT-LABEL: @foodl
-; FPCVT: friz 1, 1
+; FPCVT: fctidz [[REG1:[0-9]+]], 1
+; FPCVT: fcfid 1, [[REG1]]
; FPCVT: blr
; PPC64-LABEL: @foodl
@@ -46,7 +48,8 @@ entry:
ret float %conv1
; FPCVT-LABEL: @fooul
-; FPCVT: friz 1, 1
+; FPCVT: fctiduz [[REG1:[0-9]+]], 1
+; FPCVT: fcfidus 1, [[REG1]]
; FPCVT: blr
}
@@ -58,7 +61,8 @@ entry:
ret double %conv1
; FPCVT-LABEL: @fooudl
-; FPCVT: friz 1, 1
+; FPCVT: fctiduz [[REG1:[0-9]+]], 1
+; FPCVT: fcfidu 1, [[REG1]]
; FPCVT: blr
}
OpenPOWER on IntegriCloud