aboutsummaryrefslogtreecommitdiff
path: root/lldb/scripts/Python/python-wrapper.swig
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@intel.com>2018-09-13 20:51:27 +0000
committerCraig Topper <craig.topper@intel.com>2018-09-13 20:51:27 +0000
commit2f88006cedd06b8e2be1e9d282ba7e3bf88f57ca (patch)
treebef5cc32a8576e5953a232463741b800dd7a7371 /lldb/scripts/Python/python-wrapper.swig
parent59ad1c845787238560142d7608bc9433cbe9eaa0 (diff)
downloadllvm-2f88006cedd06b8e2be1e9d282ba7e3bf88f57ca.zip
llvm-2f88006cedd06b8e2be1e9d282ba7e3bf88f57ca.tar.gz
llvm-2f88006cedd06b8e2be1e9d282ba7e3bf88f57ca.tar.bz2
[MachineInstr] In addRegisterKilled and addRegisterDead, don't remove operands from inline assembly instructions if they have an associated flag operand.
INLINEASM instructions use extra operands to carry flags. If a register operand is removed without removing the flag operand, then the flags will no longer make sense. This patch fixes this by preventing the removal when a flag operand is present. The included test case was generated by MS inline assembly. Longer term maybe we should fix the inline assembly parsing to not generate redundant operands. Differential Revision: https://reviews.llvm.org/D51829 llvm-svn: 342176
Diffstat (limited to 'lldb/scripts/Python/python-wrapper.swig')
0 files changed, 0 insertions, 0 deletions