diff options
author | Chris Lattner <sabre@nondot.org> | 2010-02-05 22:48:33 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2010-02-05 22:48:33 +0000 |
commit | faa75f6f6f2b37359a458fd9acd57c58ee26eea9 (patch) | |
tree | 8ae44bca197fd3f47a54e8a3472623bc8aca6947 | |
parent | c8296a0d597a27e7070787d12c8fbe16830b1734 (diff) | |
download | external_llvm-faa75f6f6f2b37359a458fd9acd57c58ee26eea9.zip external_llvm-faa75f6f6f2b37359a458fd9acd57c58ee26eea9.tar.gz external_llvm-faa75f6f6f2b37359a458fd9acd57c58ee26eea9.tar.bz2 |
add note.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@95445 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/Target/X86/X86MCCodeEmitter.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Target/X86/X86MCCodeEmitter.cpp b/lib/Target/X86/X86MCCodeEmitter.cpp index ec0e444..4d82d2b 100644 --- a/lib/Target/X86/X86MCCodeEmitter.cpp +++ b/lib/Target/X86/X86MCCodeEmitter.cpp @@ -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; } |