aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/ScriptedThreadPythonInterface.h
diff options
context:
space:
mode:
authorMatt Arsenault <Matthew.Arsenault@amd.com>2022-02-02 11:18:18 -0500
committerMatt Arsenault <Matthew.Arsenault@amd.com>2022-02-02 14:20:12 -0500
commit245e25f9c3b4273ee77f5d066ef8b8526f881b69 (patch)
tree2d0b3335b060edee805d9017e7201344af0d4373 /lldb/source/Plugins/ScriptInterpreter/Python/ScriptedThreadPythonInterface.h
parent979d0ee8ab30a175220af3b39a6df7d56de9d2c8 (diff)
downloadllvm-245e25f9c3b4273ee77f5d066ef8b8526f881b69.zip
llvm-245e25f9c3b4273ee77f5d066ef8b8526f881b69.tar.gz
llvm-245e25f9c3b4273ee77f5d066ef8b8526f881b69.tar.bz2
AMDGPU: Implement isAsmClobberable
Warn on inline assembly clobbering reserved registers. It should also warn on at least some reserved register defs, but that isn't happening right now. If you have a def and re-use of a register we reserve, the register coalescer will eliminate the intermediate virtual register. When the reserved reg def is introduced later by the backend, it will end up clobbering the value the register coalescer assumed was live through the range. There is also isInlineAsmReadOnlyReg, although I don't understand what the distinction really is. It's called in SelectionDAGBuilder, long before the set of reserved registers is frozen so I'm not sure how that can possibly work reliably. Unfortunately this is also using the ugly tablegenerated names for the registers.
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptedThreadPythonInterface.h')
0 files changed, 0 insertions, 0 deletions