diff options
author | Florian Hahn <florian.hahn@arm.com> | 2017-06-21 08:47:23 +0000 |
---|---|---|
committer | Florian Hahn <florian.hahn@arm.com> | 2017-06-21 08:47:23 +0000 |
commit | 80e485179e767c95de7de18fc44a82bcfab1c579 (patch) | |
tree | c196aa5ecd84bbda543c96ea2a0a8a34ed7dbc84 /llvm/lib/CodeGen/MachineScheduler.cpp | |
parent | 52d73fce8568f69832f3eb06d2ddff7a771f2224 (diff) | |
download | bcm5719-llvm-80e485179e767c95de7de18fc44a82bcfab1c579.tar.gz bcm5719-llvm-80e485179e767c95de7de18fc44a82bcfab1c579.zip |
[AArch64] Preserve register flags when promoting a load from store.
Summary:
This patch updates promoteLoadFromStore to use the store MachineOperand as the
source operand of the of the new instruction instead of creating a new
register MachineOperand. This way, the existing register flags are
preserved.
This fixes PR33468 (https://bugs.llvm.org/show_bug.cgi?id=33468).
Reviewers: MatzeB, t.p.northover, junbuml
Reviewed By: MatzeB
Subscribers: aemerson, rengolin, javed.absar, kristof.beyls, llvm-commits
Differential Revision: https://reviews.llvm.org/D34402
llvm-svn: 305885
Diffstat (limited to 'llvm/lib/CodeGen/MachineScheduler.cpp')
0 files changed, 0 insertions, 0 deletions