summaryrefslogtreecommitdiffstats
path: root/llvm/test
diff options
context:
space:
mode:
authorMatt Arsenault <Matthew.Arsenault@amd.com>2017-01-25 04:54:34 +0000
committerMatt Arsenault <Matthew.Arsenault@amd.com>2017-01-25 04:54:34 +0000
commit8a27aee6ae8ec36b83d8b50f858135a45842d083 (patch)
treebe4b5f8eafd0cd52f30d9f3c132ce580f32392b4 /llvm/test
parent22921338b12e6a1ae9c55061cd619c72d3bc7e76 (diff)
downloadbcm5719-llvm-8a27aee6ae8ec36b83d8b50f858135a45842d083.tar.gz
bcm5719-llvm-8a27aee6ae8ec36b83d8b50f858135a45842d083.zip
DAGCombiner: Allow negating ConstantFP after legalize
llvm-svn: 293019
Diffstat (limited to 'llvm/test')
-rw-r--r--llvm/test/CodeGen/AMDGPU/fneg-combines.ll3
1 files changed, 1 insertions, 2 deletions
diff --git a/llvm/test/CodeGen/AMDGPU/fneg-combines.ll b/llvm/test/CodeGen/AMDGPU/fneg-combines.ll
index 3f9928c2b62..74d14217e0d 100644
--- a/llvm/test/CodeGen/AMDGPU/fneg-combines.ll
+++ b/llvm/test/CodeGen/AMDGPU/fneg-combines.ll
@@ -1300,8 +1300,7 @@ define void @v_fneg_mul_legacy_multi_use_fneg_x_f32(float addrspace(1)* %out, fl
; GCN-LABEL: {{^}}v_fneg_sin_f32:
; GCN: {{buffer|flat}}_load_dword [[A:v[0-9]+]]
-; GCN: v_mov_b32_e32 [[K:v[0-9]+]], 0x3e22f983
-; GCN: v_mul_f32_e64 [[MUL:v[0-9]+]], [[K]], -[[A]]
+; GCN: v_mul_f32_e32 [[MUL:v[0-9]+]], 0xbe22f983, [[A]]
; GCN: v_fract_f32_e32 [[FRACT:v[0-9]+]], [[MUL]]
; GCN: v_sin_f32_e32 [[RESULT:v[0-9]+]], [[FRACT]]
; GCN: buffer_store_dword [[RESULT]]
OpenPOWER on IntegriCloud