diff options
author | Brox Chen <guochen2@amd.com> | 2025-06-04 09:53:10 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-06-04 09:53:10 -0400 |
commit | b668b6439acb9057faadd788c9351a7d20bf140e (patch) | |
tree | 551dcc976770af88377753719a34589a3816d5f5 /clang/lib/CodeGen/CodeGenFunction.cpp | |
parent | 817af2ddf24bd6ef68d66d86904d0682dd5feda9 (diff) | |
download | llvm-b668b6439acb9057faadd788c9351a7d20bf140e.zip llvm-b668b6439acb9057faadd788c9351a7d20bf140e.tar.gz llvm-b668b6439acb9057faadd788c9351a7d20bf140e.tar.bz2 |
[AMDGPU][True16][CodeGen] legalize 16bit and 32bit use-def chain for moveToVALU in si-fix-sgpr-lowering (#138734)
Two changes in this patch:
1. Covered another case in legalizeOperandVALUt16 functions and the COPY
lowering, when SALU16 is used by SALU32, need to insert a reg_sequence
after moved to valu (previously only considered SALU32 used by SALU16
case)
2. Moved the useMI analysis into addUsersToMoveVALUList. Legalize the
targetted operand when needed.
Turn on frem test with true16 mode for gfx1150 which is failing before
this patch. A few bitcast tests also impacted by this change with some
v_mov being replaced to dual mov
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions