aboutsummaryrefslogtreecommitdiff
path: root/llvm/tools/llvm-objdump/llvm-objdump.cpp
diff options
context:
space:
mode:
authorDaniil Fukalov <dfukalov@gmail.com>2025-05-30 16:38:07 +0200
committerGitHub <noreply@github.com>2025-05-30 16:38:07 +0200
commit5208f722d80c9033ed9b5de86e6302f452f4ceca (patch)
tree82f6ea4fb8eaf2f87eba3875babcd7cb9800f7ef /llvm/tools/llvm-objdump/llvm-objdump.cpp
parent597340b5b666bdee2887f56c111407b6737cbf34 (diff)
downloadllvm-5208f722d80c9033ed9b5de86e6302f452f4ceca.zip
llvm-5208f722d80c9033ed9b5de86e6302f452f4ceca.tar.gz
llvm-5208f722d80c9033ed9b5de86e6302f452f4ceca.tar.bz2
[AMDGPU] Fix SIFoldOperandsImpl::canUseImmWithOpSel() for VOP3 packed [B]F16 imms. (#142142)
VOP3 instructions ignore opsel source modifiers, so a constant that contains two different [B]F16 imms cannot be encoded into instruction with an src opsel. E.g. without the fix the following instructions `s_mov_b32 s0, 0x40003c00 // <half 1.0, half 2.0>` `v_cvt_scalef32_pk_fp8_f16 v0, s0, v2` lose `2.0` imm and are folded into `v_cvt_scalef32_pk_fp8_f16 v1, 1.0, 1.0` Fixes SWDEV-531672
Diffstat (limited to 'llvm/tools/llvm-objdump/llvm-objdump.cpp')
0 files changed, 0 insertions, 0 deletions