[llvm-commits] CVS: llvm/lib/Target/PowerPC/PPCRegisterInfo.cpp
Evan Cheng
evan.cheng at apple.com
Wed Nov 29 23:12:20 PST 2006
Changes in directory llvm/lib/Target/PowerPC:
PPCRegisterInfo.cpp updated: 1.90 -> 1.91
---
Log message:
MachineInstr::setOpcode -> MachineInstr::setInstrDescriptor
---
Diffs of the changes: (+1 -1)
PPCRegisterInfo.cpp | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
Index: llvm/lib/Target/PowerPC/PPCRegisterInfo.cpp
diff -u llvm/lib/Target/PowerPC/PPCRegisterInfo.cpp:1.90 llvm/lib/Target/PowerPC/PPCRegisterInfo.cpp:1.91
--- llvm/lib/Target/PowerPC/PPCRegisterInfo.cpp:1.90 Mon Nov 27 17:37:22 2006
+++ llvm/lib/Target/PowerPC/PPCRegisterInfo.cpp Thu Nov 30 01:12:03 2006
@@ -576,7 +576,7 @@
assert(ImmToIdxMap.count(OpC) &&
"No indexed form of load or store available!");
unsigned NewOpcode = ImmToIdxMap.find(OpC)->second;
- MI.setOpcode(NewOpcode);
+ MI.setInstrDescriptor(TII.get(NewOpcode));
MI.getOperand(1).ChangeToRegister(MI.getOperand(i).getReg(), false);
MI.getOperand(2).ChangeToRegister(PPC::R0, false);
} else {
More information about the llvm-commits
mailing list