aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Christopher <echristo@gmail.com>2013-11-12 21:47:44 +0000
committerEric Christopher <echristo@gmail.com>2013-11-12 21:47:44 +0000
commit2a499a73131e06162a1a6cfa813adc077251781b (patch)
treeb264a3661943b9b91c3d45146d0fe1e99186bb52
parentdc6b4b4fc2665eea17684d29e4dae219b258b5ef (diff)
downloadexternal_llvm-2a499a73131e06162a1a6cfa813adc077251781b.zip
external_llvm-2a499a73131e06162a1a6cfa813adc077251781b.tar.gz
external_llvm-2a499a73131e06162a1a6cfa813adc077251781b.tar.bz2
Add a FIXME for 32-bit q modifiers.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@194515 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/Target/X86/X86AsmPrinter.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Target/X86/X86AsmPrinter.cpp b/lib/Target/X86/X86AsmPrinter.cpp
index 1a81ba8..b880f33 100644
--- a/lib/Target/X86/X86AsmPrinter.cpp
+++ b/lib/Target/X86/X86AsmPrinter.cpp
@@ -394,6 +394,7 @@ bool X86AsmPrinter::printAsmMRegister(const MachineOperand &MO, char Mode,
Reg = getX86SubSuperRegister(Reg, MVT::i32);
break;
case 'q': // Print DImode register
+ // FIXME: gcc will actually print e instead of r for 32-bit.
Reg = getX86SubSuperRegister(Reg, MVT::i64);
break;
}