[llvm-commits] [llvm] r95445 - /llvm/trunk/lib/Target/X86/X86MCCodeEmitter.cpp
Chris Lattner
sabre at nondot.org
Fri Feb 5 14:48:33 PST 2010
Author: lattner
Date: Fri Feb 5 16:48:33 2010
New Revision: 95445
URL: http://llvm.org/viewvc/llvm-project?rev=95445&view=rev
Log:
add note.
Modified:
llvm/trunk/lib/Target/X86/X86MCCodeEmitter.cpp
Modified: llvm/trunk/lib/Target/X86/X86MCCodeEmitter.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/X86/X86MCCodeEmitter.cpp?rev=95445&r1=95444&r2=95445&view=diff
==============================================================================
--- llvm/trunk/lib/Target/X86/X86MCCodeEmitter.cpp (original)
+++ llvm/trunk/lib/Target/X86/X86MCCodeEmitter.cpp Fri Feb 5 16:48:33 2010
@@ -293,6 +293,8 @@
if (!MO.isReg()) continue;
unsigned Reg = MO.getReg();
if (!X86InstrInfo::isX86_64NonExtLowByteReg(Reg)) continue;
+ // FIXME: The caller of DetermineREXPrefix slaps this prefix onto anything
+ // that returns non-zero.
REX |= 0x40;
break;
}
More information about the llvm-commits
mailing list