diff options
| author | Jay Foad <jay.foad@amd.com> | 2023-05-22 15:40:57 +0100 |
|---|---|---|
| committer | Jay Foad <jay.foad@amd.com> | 2023-05-22 16:31:27 +0100 |
| commit | 9283c43ee2611b728bdabf08522336e01d5a31bf (patch) | |
| tree | c3f66ef8583519b35d0b2fe0251ee620483ed484 /lldb/unittests/ScriptInterpreter/Python/PythonDataObjectsTests.cpp | |
| parent | ba9590d8bc76f9d410a626c26a3d55e1381de4aa (diff) | |
[AMDGPU] Fix lowering of @llvm.amdgcn.set.inactive(imm, poison)
If the second argument of V_SET_INACTIVE is undef/poison,
SIWholeQuadMode lowered it to a COPY from the first argument, but that
caused invalid MIR if the first argument was an immediate rather than a
register.
Fix this by lowering to a V_MOV instruction instead of a COPY.
Fixes https://github.com/llvm/llvm-project/issues/62862
Differential Revision: https://reviews.llvm.org/D151105
Diffstat (limited to 'lldb/unittests/ScriptInterpreter/Python/PythonDataObjectsTests.cpp')
0 files changed, 0 insertions, 0 deletions
