[llvm-commits] CVS: llvm/lib/Target/X86/X86ISelLowering.h X86InstrInfo.cpp
Chris Lattner
sabre at nondot.org
Thu Sep 28 16:33:27 PDT 2006
Changes in directory llvm/lib/Target/X86:
X86ISelLowering.h updated: 1.73 -> 1.74
X86InstrInfo.cpp updated: 1.60 -> 1.61
---
Log message:
update comments
---
Diffs of the changes: (+2 -1)
X86ISelLowering.h | 2 +-
X86InstrInfo.cpp | 1 +
2 files changed, 2 insertions(+), 1 deletion(-)
Index: llvm/lib/Target/X86/X86ISelLowering.h
diff -u llvm/lib/Target/X86/X86ISelLowering.h:1.73 llvm/lib/Target/X86/X86ISelLowering.h:1.74
--- llvm/lib/Target/X86/X86ISelLowering.h:1.73 Wed Sep 20 17:03:51 2006
+++ llvm/lib/Target/X86/X86ISelLowering.h Thu Sep 28 18:33:12 2006
@@ -146,7 +146,7 @@
/// at function entry, used for PIC code.
GlobalBaseReg,
- /// TCPWrapper - A wrapper node for TargetConstantPool,
+ /// Wrapper - A wrapper node for TargetConstantPool,
/// TargetExternalSymbol, and TargetGlobalAddress.
Wrapper,
Index: llvm/lib/Target/X86/X86InstrInfo.cpp
diff -u llvm/lib/Target/X86/X86InstrInfo.cpp:1.60 llvm/lib/Target/X86/X86InstrInfo.cpp:1.61
--- llvm/lib/Target/X86/X86InstrInfo.cpp:1.60 Fri Sep 8 01:48:29 2006
+++ llvm/lib/Target/X86/X86InstrInfo.cpp Thu Sep 28 18:33:12 2006
@@ -213,6 +213,7 @@
/// commute them.
///
MachineInstr *X86InstrInfo::commuteInstruction(MachineInstr *MI) const {
+ // FIXME: Can commute cmoves by changing the condition!
switch (MI->getOpcode()) {
case X86::SHRD16rri8: // A = SHRD16rri8 B, C, I -> A = SHLD16rri8 C, B, (16-I)
case X86::SHLD16rri8: // A = SHLD16rri8 B, C, I -> A = SHRD16rri8 C, B, (16-I)
More information about the llvm-commits
mailing list