remove dead code: the x86 target never sets usesGlobalOffsetTable,
even on x86-32/elf which uses a GOT. llvm-svn: 94439
This commit is contained in:
parent
d45adf28de
commit
a9ee93ef42
|
@ -1094,8 +1094,6 @@ X86TargetLowering::getOptimalMemOpType(uint64_t Size, unsigned Align,
|
||||||
/// jumptable.
|
/// jumptable.
|
||||||
SDValue X86TargetLowering::getPICJumpTableRelocBase(SDValue Table,
|
SDValue X86TargetLowering::getPICJumpTableRelocBase(SDValue Table,
|
||||||
SelectionDAG &DAG) const {
|
SelectionDAG &DAG) const {
|
||||||
if (usesGlobalOffsetTable())
|
|
||||||
return DAG.getGLOBAL_OFFSET_TABLE(getPointerTy());
|
|
||||||
if (!Subtarget->is64Bit())
|
if (!Subtarget->is64Bit())
|
||||||
// This doesn't have DebugLoc associated with it, but is not really the
|
// This doesn't have DebugLoc associated with it, but is not really the
|
||||||
// same as a Register.
|
// same as a Register.
|
||||||
|
|
Loading…
Reference in New Issue