mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-10 20:33:15 +00:00
remove dead code: the x86 target never sets usesGlobalOffsetTable,
even on x86-32/elf which uses a GOT. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@94439 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
d32e803073
commit
3a39f8cec8
@ -1094,8 +1094,6 @@ X86TargetLowering::getOptimalMemOpType(uint64_t Size, unsigned Align,
|
||||
/// jumptable.
|
||||
SDValue X86TargetLowering::getPICJumpTableRelocBase(SDValue Table,
|
||||
SelectionDAG &DAG) const {
|
||||
if (usesGlobalOffsetTable())
|
||||
return DAG.getGLOBAL_OFFSET_TABLE(getPointerTy());
|
||||
if (!Subtarget->is64Bit())
|
||||
// This doesn't have DebugLoc associated with it, but is not really the
|
||||
// same as a Register.
|
||||
|
Loading…
x
Reference in New Issue
Block a user