diff options
author | Chris Lattner <sabre@nondot.org> | 2006-09-28 23:33:12 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2006-09-28 23:33:12 +0000 |
commit | 6458f1807d32e3625a192526c665a365f5886365 (patch) | |
tree | 7327ab81bf4221d621530cd773503857b98eb674 | |
parent | 7be164c0eaa6c1ab2e69262036e54870176c10a4 (diff) |
update comments
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30663 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/Target/X86/X86ISelLowering.h | 2 | ||||
-rw-r--r-- | lib/Target/X86/X86InstrInfo.cpp | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/lib/Target/X86/X86ISelLowering.h b/lib/Target/X86/X86ISelLowering.h index 8b5089024d..468ed9662d 100644 --- a/lib/Target/X86/X86ISelLowering.h +++ b/lib/Target/X86/X86ISelLowering.h @@ -146,7 +146,7 @@ namespace llvm { /// at function entry, used for PIC code. GlobalBaseReg, - /// TCPWrapper - A wrapper node for TargetConstantPool, + /// Wrapper - A wrapper node for TargetConstantPool, /// TargetExternalSymbol, and TargetGlobalAddress. Wrapper, diff --git a/lib/Target/X86/X86InstrInfo.cpp b/lib/Target/X86/X86InstrInfo.cpp index 81cd9e0831..eb85abff10 100644 --- a/lib/Target/X86/X86InstrInfo.cpp +++ b/lib/Target/X86/X86InstrInfo.cpp @@ -213,6 +213,7 @@ MachineInstr *X86InstrInfo::convertToThreeAddress(MachineInstr *MI) const { /// 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) |