summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2010-10-22 21:29:58 +0000
committerEvan Cheng <evan.cheng@apple.com>2010-10-22 21:29:58 +0000
commit77a38320c7b6156920d443f4445e4febfb2143df (patch)
tree4a178381f3972db582aa7751012668624a530b35 /llvm/lib/CodeGen
parent54180398fabe98e3a41f60b4a7b744044dd4c382 (diff)
downloadbcm5719-llvm-77a38320c7b6156920d443f4445e4febfb2143df.tar.gz
bcm5719-llvm-77a38320c7b6156920d443f4445e4febfb2143df.zip
Transfer implicit ops when forming load multiple and return instructions.
llvm-svn: 117151
Diffstat (limited to 'llvm/lib/CodeGen')
-rw-r--r--llvm/lib/CodeGen/SimpleRegisterCoalescing.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/SimpleRegisterCoalescing.cpp b/llvm/lib/CodeGen/SimpleRegisterCoalescing.cpp
index 2f73551aa6d..3b7b4d218d2 100644
--- a/llvm/lib/CodeGen/SimpleRegisterCoalescing.cpp
+++ b/llvm/lib/CodeGen/SimpleRegisterCoalescing.cpp
@@ -680,7 +680,7 @@ bool SimpleRegisterCoalescing::ReMaterializeTrivialDef(LiveInterval &SrcInt,
RemoveCopyFlag(MO.getReg(), CopyMI);
}
- TransferImplicitOps(CopyMI, NewMI);
+ NewMI->copyImplicitOps(CopyMI);
li_->ReplaceMachineInstrInMaps(CopyMI, NewMI);
CopyMI->eraseFromParent();
ReMatCopies.insert(CopyMI);
OpenPOWER on IntegriCloud