mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-25 12:12:47 +01:00
Fix PR1061 and CodeGen/X86/2006-12-19-IntelSyntax.ll
llvm-svn: 32676
This commit is contained in:
parent
83b57e0a4c
commit
26f8533c7f
@ -211,7 +211,8 @@ void X86IntelAsmPrinter::printMemReference(const MachineInstr *MI, unsigned Op,
|
||||
NeedPlus = true;
|
||||
}
|
||||
|
||||
if (DispSpec.isGlobalAddress() || DispSpec.isConstantPoolIndex()) {
|
||||
if (DispSpec.isGlobalAddress() || DispSpec.isConstantPoolIndex() ||
|
||||
DispSpec.isJumpTableIndex()) {
|
||||
if (NeedPlus)
|
||||
O << " + ";
|
||||
printOp(DispSpec, "mem");
|
||||
|
Loading…
Reference in New Issue
Block a user