projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Prevent ARM assembler from losing a right shift by #32 applied to a register
[oota-llvm.git]
/
lib
/
Target
/
X86
/
X86FrameLowering.cpp
diff --git
a/lib/Target/X86/X86FrameLowering.cpp
b/lib/Target/X86/X86FrameLowering.cpp
index a65bc15b1e4566f4156fe58170117cf80bf8ba66..7e7f364504ebf995003969f75b18a8d5fc08bf2f 100644
(file)
--- a/
lib/Target/X86/X86FrameLowering.cpp
+++ b/
lib/Target/X86/X86FrameLowering.cpp
@@
-1124,8
+1124,7
@@
void X86FrameLowering::emitEpilogue(MachineFunction &MF,
}
MachineInstr *NewMI = prior(MBBI);
- for (unsigned i = 2, e = MBBI->getNumOperands(); i != e; ++i)
- NewMI->addOperand(MBBI->getOperand(i));
+ NewMI->copyImplicitOps(MBBI);
// Delete the pseudo instruction TCRETURN.
MBB.erase(MBBI);