diff options
author | Jonas Paulsson <paulsson@linux.vnet.ibm.com> | 2017-12-04 10:03:14 +0000 |
---|---|---|
committer | Jonas Paulsson <paulsson@linux.vnet.ibm.com> | 2017-12-04 10:03:14 +0000 |
commit | e86327f290b412b7e80edec7a1a79b7ff7724dcd (patch) | |
tree | 3b9f192b000b4cd49da1afc16a00e9f5c095cf74 /lldb/packages/Python/lldbsuite/test | |
parent | 1e26d986aa8e8efaea391aec19127148fac5c584 (diff) | |
download | bcm5719-llvm-e86327f290b412b7e80edec7a1a79b7ff7724dcd.tar.gz bcm5719-llvm-e86327f290b412b7e80edec7a1a79b7ff7724dcd.zip |
[TwoAddressInstructionPass] Bugfix in handling of sunk instructions.
An instruction returned by TII->convertToThreeAddress() may contain a %noreg
(undef) operand, which is not expected by tryInstructionTransform(). So if
this MI is sunk to a lower point in MBB, it must be skipped when later
encountered.
A new set SunkInstrs is used for this purpose.
Note: there is no test supplied here, as this was triggered on SystemZ while
working on a review of instruction flags. A test case for this bugfix will be
included in the upcoming SystemZ commit.
Review: Quentin Colombet
https://reviews.llvm.org/D40711
llvm-svn: 319646
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test')
0 files changed, 0 insertions, 0 deletions