summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen
diff options
context:
space:
mode:
authorTim Northover <tnorthover@apple.com>2016-08-26 17:46:22 +0000
committerTim Northover <tnorthover@apple.com>2016-08-26 17:46:22 +0000
commitbc1701c7fb91f28096ae4f11629516f05d6c0bc4 (patch)
treec6bb0592d44663c7d9564b16904d497c34df4922 /llvm/test/CodeGen
parent30bd36e3fc17dcc05a9cfc30f24eb714ba8e9a01 (diff)
downloadbcm5719-llvm-bc1701c7fb91f28096ae4f11629516f05d6c0bc4.tar.gz
bcm5719-llvm-bc1701c7fb91f28096ae4f11629516f05d6c0bc4.zip
GlobalISel: mark G_FPEXT legal from float to double.
llvm-svn: 279845
Diffstat (limited to 'llvm/test/CodeGen')
-rw-r--r--llvm/test/CodeGen/AArch64/GlobalISel/legalize-ext.mir6
1 files changed, 6 insertions, 0 deletions
diff --git a/llvm/test/CodeGen/AArch64/GlobalISel/legalize-ext.mir b/llvm/test/CodeGen/AArch64/GlobalISel/legalize-ext.mir
index cb660b76339..a7ebc5c067f 100644
--- a/llvm/test/CodeGen/AArch64/GlobalISel/legalize-ext.mir
+++ b/llvm/test/CodeGen/AArch64/GlobalISel/legalize-ext.mir
@@ -29,6 +29,8 @@ registers:
- { id: 14, class: _ }
- { id: 15, class: _ }
- { id: 16, class: _ }
+ - { id: 17, class: _ }
+ - { id: 18, class: _ }
body: |
bb.0.entry:
liveins: %x0, %x1, %x2, %x3
@@ -70,4 +72,8 @@ body: |
; CHECK: %16(16) = G_ANYEXT { s16, s8 } %2
%15(8) = G_ZEXT { s8, s1 } %1
%16(16) = G_ANYEXT { s16, s8 } %2
+
+ ; CHECK: %18(64) = G_FPEXT { s64, s32 } %17
+ %17(32) = G_TRUNC { s32, s64 } %0
+ %18(64) = G_FPEXT { s64, s32 } %17
...
OpenPOWER on IntegriCloud