aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Target/WebAssembly/WebAssemblyTargetMachine.cpp
diff options
context:
space:
mode:
authorJoe Nash <Joseph.Nash@amd.com>2022-12-02 15:36:39 -0500
committerJoe Nash <Joseph.Nash@amd.com>2022-12-07 13:30:33 -0500
commitbbfbec94b10699d473c106d85d5a48ff5d69e721 (patch)
treeb80b8ab29f6d4e92c9fbbcee3cd90d4e911e5445 /llvm/lib/Target/WebAssembly/WebAssemblyTargetMachine.cpp
parent9114ac67a986400155b8b82013d09a9e4f48e534 (diff)
downloadllvm-bbfbec94b10699d473c106d85d5a48ff5d69e721.zip
llvm-bbfbec94b10699d473c106d85d5a48ff5d69e721.tar.gz
llvm-bbfbec94b10699d473c106d85d5a48ff5d69e721.tar.bz2
[AMDGPU] Enable OMod on more VOP3 instructions
OMod was disabled if OpSel was enabled, but that restriction is more specific than necessary. Any VOP3 with float operands can use OMod. On GFX11, FMAC_F16_e64 can use op_sel. Previously, SIFoldOperands and convertToThreeAddress were accidentally correct when they reinterpreted the zero OMod operand on V_FMAC_F16_e64 as the OpSel operand on V_FMA_F16_gfx9_e64. Now we explicitly add op_sel if required. Reviewed By: arsenm Differential Revision: https://reviews.llvm.org/D139469
Diffstat (limited to 'llvm/lib/Target/WebAssembly/WebAssemblyTargetMachine.cpp')
0 files changed, 0 insertions, 0 deletions