projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d32e803
)
remove dead code: the x86 target never sets usesGlobalOffsetTable,
author
Chris Lattner
<sabre@nondot.org>
Mon, 25 Jan 2010 19:23:04 +0000
(19:23 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Mon, 25 Jan 2010 19:23:04 +0000
(19:23 +0000)
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
lib/Target/X86/X86ISelLowering.cpp
patch
|
blob
|
history
diff --git
a/lib/Target/X86/X86ISelLowering.cpp
b/lib/Target/X86/X86ISelLowering.cpp
index ab51369555c1b135d6e040b8ebd809a4a0b510f8..02582a044f12931518a54b6073b108a90ec50855 100644
(file)
--- a/
lib/Target/X86/X86ISelLowering.cpp
+++ b/
lib/Target/X86/X86ISelLowering.cpp
@@
-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.