diff options
| author | Matt Arsenault <Matthew.Arsenault@amd.com> | 2025-02-19 10:53:03 +0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-02-19 10:53:03 +0700 |
| commit | 22d65d898961e96f0a8340e090ffa34558279eab (patch) | |
| tree | ae3ed6f997d5750f2c7ee83455db20fa74f0b918 /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp | |
| parent | aed9f11965d44e86fa5a53c7a6c1dfc7d8cbe6b8 (diff) | |
AMDGPU: Teach isOperandLegal about SALU literal restrictions (#127626)
isOperandLegal mostly implemented the VALU operand rules, and
largely ignored SALU restrictions. This theoretically avoids
folding literals into SALU insts which already have a literal
operand. This issue is currently avoided due to a bug in
SIFoldOperands; this change will allow using raw operand
legality rules.
This breaks the formation of s_fmaak_f32 in SIFoldOperands,
but it probably should not have been forming there in the first
place. TwoAddressInsts or RA should generally handle that,
and this only worked by accident.
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp')
0 files changed, 0 insertions, 0 deletions
