projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
give MCCodeEmitters access to the current MCContext.
[oota-llvm.git]
/
lib
/
CodeGen
/
VirtRegRewriter.cpp
diff --git
a/lib/CodeGen/VirtRegRewriter.cpp
b/lib/CodeGen/VirtRegRewriter.cpp
index 37d69fcff5c31dbd5a99d1f23f8eb06e1dc95794..ce625948424197c003104a1505f31a90fb55e988 100644
(file)
--- a/
lib/CodeGen/VirtRegRewriter.cpp
+++ b/
lib/CodeGen/VirtRegRewriter.cpp
@@
-1759,7
+1759,7
@@
private:
// Mark is killed.
MachineInstr *CopyMI = prior(InsertLoc);
// Mark is killed.
MachineInstr *CopyMI = prior(InsertLoc);
- CopyMI->setAsmPrinterFlag(
AsmPrinte
r::ReloadReuse);
+ CopyMI->setAsmPrinterFlag(
MachineInst
r::ReloadReuse);
MachineOperand *KillOpnd = CopyMI->findRegisterUseOperand(InReg);
KillOpnd->setIsKill();
UpdateKills(*CopyMI, TRI, RegKills, KillOps);
MachineOperand *KillOpnd = CopyMI->findRegisterUseOperand(InReg);
KillOpnd->setIsKill();
UpdateKills(*CopyMI, TRI, RegKills, KillOps);
@@
-2037,7
+2037,7
@@
private:
TII->copyRegToReg(MBB, InsertLoc, DesignatedReg, PhysReg, RC, RC);
MachineInstr *CopyMI = prior(InsertLoc);
TII->copyRegToReg(MBB, InsertLoc, DesignatedReg, PhysReg, RC, RC);
MachineInstr *CopyMI = prior(InsertLoc);
- CopyMI->setAsmPrinterFlag(
AsmPrinte
r::ReloadReuse);
+ CopyMI->setAsmPrinterFlag(
MachineInst
r::ReloadReuse);
UpdateKills(*CopyMI, TRI, RegKills, KillOps);
// This invalidates DesignatedReg.
UpdateKills(*CopyMI, TRI, RegKills, KillOps);
// This invalidates DesignatedReg.
@@
-2166,7
+2166,7
@@
private:
// virtual or needing to clobber any values if it's physical).
NextMII = &MI;
--NextMII; // backtrack to the copy.
// virtual or needing to clobber any values if it's physical).
NextMII = &MI;
--NextMII; // backtrack to the copy.
- NextMII->setAsmPrinterFlag(
AsmPrinte
r::ReloadReuse);
+ NextMII->setAsmPrinterFlag(
MachineInst
r::ReloadReuse);
// Propagate the sub-register index over.
if (SubIdx) {
DefMO = NextMII->findRegisterDefOperand(DestReg);
// Propagate the sub-register index over.
if (SubIdx) {
DefMO = NextMII->findRegisterDefOperand(DestReg);