mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-09 13:33:17 +00:00
Fix PR1061 and CodeGen/X86/2006-12-19-IntelSyntax.ll
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32676 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
db167271fd
commit
0bb3af9ec1
@ -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…
x
Reference in New Issue
Block a user