summaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp
diff options
context:
space:
mode:
authorMatt Arsenault <Matthew.Arsenault@amd.com>2020-07-29 09:48:26 -0400
committerMatt Arsenault <Matthew.Arsenault@amd.com>2020-08-04 15:19:02 -0400
commit3e16e2152cd1fb3914d4da47d83d5e023dd3f2cb (patch)
tree8d376a80874054429c987823878b3a511296a24f /lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp
parent6cd50e7b75ed39ba1218c724401117cb6e12748d (diff)
GlobalISel: Handle llvm.localescape
This one is pretty easy and shrinks the list of unhandled intrinsics. I'm not sure how relevant the insert point is. Using the insert position of EntryBuilder will place this after constants. SelectionDAG seems to end up emitting these after argument copies and before anything else, but I don't think it really matters. This also ends up emitting these in the opposite order from SelectionDAG, but I don't think that matters either. This also needs a fix to stop the later passes dropping this as a dead instruction. DeadMachineInstructionElim's version of isDead special cases LOCAL_ESCAPE for some reason, and I'm not sure why it's excluded from MachineInstr::isLabel (or why isDead doesn't check it). I also noticed DeadMachineInstructionElim never considers inline asm as dead, but GlobalISel will drop asm with no constraints.
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp')
0 files changed, 0 insertions, 0 deletions