summaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/Process/scripted/ScriptedProcess.cpp
diff options
context:
space:
mode:
authorAbinav Puthan Purayil <abinav.puthanpurayil@amd.com>2021-12-27 16:16:38 +0530
committerAbinav Puthan Purayil <abinav.puthanpurayil@amd.com>2022-02-10 09:26:37 +0530
commitf4e8cf25af3a4969619f4482339115aeda5abbce (patch)
treea40bc16f48ecb7874b5ef1e23fcaf190969dd36d /lldb/source/Plugins/Process/scripted/ScriptedProcess.cpp
parent8be890b8cd3624539568a01f1760171b2674f220 (diff)
[AMDGPU] Select no-return ds_* atomic ops in tblgen.
SelectionDAG relies on MachineInstr's HasPostISelHook for selecting the no-return atomic ops. GlobalISel, at the moment, doesn't handle HasPostISelHook. This change adds the selection for no-return ds_* atomic ops in tblgen so that it can work with both GlobalISel and SelectionDAG. I couldn't add the predicates for GlobalISel in this change since there's a restriction in GlobalISelEmitter that disallows selecting generic atomics ops that return with instructions that doesn't return. We can't remove the HasPostISelHook code that selects the no return atomic ops in SelectionDAG yet since we still need to cover selections in FLATInstructions.td, BUFInstructions.td. Differential Revision: https://reviews.llvm.org/D115881
Diffstat (limited to 'lldb/source/Plugins/Process/scripted/ScriptedProcess.cpp')
0 files changed, 0 insertions, 0 deletions