summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target
diff options
context:
space:
mode:
authorStanislav Mekhanoshin <Stanislav.Mekhanoshin@amd.com>2017-09-06 18:29:51 +0000
committerStanislav Mekhanoshin <Stanislav.Mekhanoshin@amd.com>2017-09-06 18:29:51 +0000
commitea134bcb133dc8147a3f44ec200348e2d699b955 (patch)
tree9f20d01c5a5a1de13c9c90a09ed5e8416009ef88 /llvm/lib/Target
parent0440be4a42e53e179b013f95bb805a7fe4296521 (diff)
downloadbcm5719-llvm-ea134bcb133dc8147a3f44ec200348e2d699b955.tar.gz
bcm5719-llvm-ea134bcb133dc8147a3f44ec200348e2d699b955.zip
[AMDGPU] Fixed encoding of v_pk_mul_f16 in fcanonicalize
Differential Revision: https://reviews.llvm.org/D37522 llvm-svn: 312660
Diffstat (limited to 'llvm/lib/Target')
-rw-r--r--llvm/lib/Target/AMDGPU/SIInstructions.td2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/AMDGPU/SIInstructions.td b/llvm/lib/Target/AMDGPU/SIInstructions.td
index 5945f963710..7744f7ae6fd 100644
--- a/llvm/lib/Target/AMDGPU/SIInstructions.td
+++ b/llvm/lib/Target/AMDGPU/SIInstructions.td
@@ -1322,7 +1322,7 @@ def : Pat<
def : Pat<
(fcanonicalize (v2f16 (VOP3PMods v2f16:$src, i32:$src_mods))),
- (V_PK_MUL_F16 SRCMODS.OP_SEL_1, (i32 CONST.V2FP16_ONE), $src_mods, $src, DSTCLAMP.NONE)
+ (V_PK_MUL_F16 0, (i32 CONST.V2FP16_ONE), $src_mods, $src, DSTCLAMP.NONE)
>;
OpenPOWER on IntegriCloud