mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 03:33:20 +01:00
don't call getOffset() on jump tables, this fixes three failing olden benchmarks
with the new asmprinter. llvm-svn: 80906
This commit is contained in:
parent
d7cc632fcf
commit
6ea9973a0b
@ -211,7 +211,7 @@ MCOperand X86ATTAsmPrinter::LowerSymbolOperand(const MachineOperand &MO,
|
||||
}
|
||||
}
|
||||
|
||||
if (MO.getOffset())
|
||||
if (!MO.isJTI() && MO.getOffset())
|
||||
Expr = MCBinaryExpr::CreateAdd(Expr, MCConstantExpr::Create(MO.getOffset(),
|
||||
OutContext),
|
||||
OutContext);
|
||||
|
Loading…
Reference in New Issue
Block a user