summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/ARM/fp16-v3.ll
diff options
context:
space:
mode:
authorMatt Arsenault <Matthew.Arsenault@amd.com>2017-01-30 16:57:41 +0000
committerMatt Arsenault <Matthew.Arsenault@amd.com>2017-01-30 16:57:41 +0000
commit0c687390fec36ad86ed2268ce5167a932c043fe0 (patch)
treee949904c41c63e5420423e4f29029df82254d4f3 /llvm/test/CodeGen/ARM/fp16-v3.ll
parent8e644c08ee6e921430e1a1f3e9a8b9dab6c0f8f9 (diff)
downloadbcm5719-llvm-0c687390fec36ad86ed2268ce5167a932c043fe0.tar.gz
bcm5719-llvm-0c687390fec36ad86ed2268ce5167a932c043fe0.zip
DAG: Constant fold fp16_to_fp/fp16_to_fp
This fixes emitting conversions of constants on targets without legal f16 that need to use these for legalization. llvm-svn: 293499
Diffstat (limited to 'llvm/test/CodeGen/ARM/fp16-v3.ll')
-rw-r--r--llvm/test/CodeGen/ARM/fp16-v3.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/test/CodeGen/ARM/fp16-v3.ll b/llvm/test/CodeGen/ARM/fp16-v3.ll
index e26455e61e7..a37f71d9ba8 100644
--- a/llvm/test/CodeGen/ARM/fp16-v3.ll
+++ b/llvm/test/CodeGen/ARM/fp16-v3.ll
@@ -4,7 +4,7 @@ target datalayout = "e-m:e-p:32:32-i64:64-v128:64:128-a:0:32-n32-S64"
target triple = "armv7a--none-eabi"
; CHECK-LABEL: test_vec3:
-; CHECK-DAG: vcvtb.f32.f16 [[SREG1:s[0-9]+]],
+; CHECK-DAG: vmov.f32 [[SREG1:s[0-9]+]], #1.200000e+01
; CHECK-DAG: vcvt.f32.s32 [[SREG2:s[0-9]+]],
; CHECK-DAG: vcvtb.f16.f32 [[SREG3:s[0-9]+]], [[SREG2]]
; CHECK-DAG: vcvtb.f32.f16 [[SREG4:s[0-9]+]], [[SREG3]]
OpenPOWER on IntegriCloud