add note.
authorChris Lattner <sabre@nondot.org>
Fri, 5 Feb 2010 22:48:33 +0000 (22:48 +0000)
committerChris Lattner <sabre@nondot.org>
Fri, 5 Feb 2010 22:48:33 +0000 (22:48 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@95445 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/X86/X86MCCodeEmitter.cpp

index ec0e444a30fb64f45f0f7cea8731b3b687bbb6e8..4d82d2b63755c9293d1f7793b6a4f172e97422dd 100644 (file)
@@ -293,6 +293,8 @@ static unsigned DetermineREXPrefix(const MCInst &MI, unsigned TSFlags,
     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;
   }