summaryrefslogtreecommitdiff
path: root/lib/Target/X86/X86ISelLowering.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-09-21 06:44:06 +0000
committerChris Lattner <sabre@nondot.org>2010-09-21 06:44:06 +0000
commitd1c24ed81c43635d00ff099844a9d0614021a72b (patch)
tree3f1fae811eb58dc588493ccde839e56b46614394 /lib/Target/X86/X86ISelLowering.cpp
parent1daa6f479dd5fb4123f1ffbb10a3825da7d2c6b8 (diff)
downloadllvm-d1c24ed81c43635d00ff099844a9d0614021a72b.tar.gz
llvm-d1c24ed81c43635d00ff099844a9d0614021a72b.tar.bz2
llvm-d1c24ed81c43635d00ff099844a9d0614021a72b.tar.xz
convert the targets off the non-MachinePointerInfo of getLoad.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@114410 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/X86/X86ISelLowering.cpp')
-rw-r--r--lib/Target/X86/X86ISelLowering.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/Target/X86/X86ISelLowering.cpp b/lib/Target/X86/X86ISelLowering.cpp
index 886791264a..3bf4fe7ea1 100644
--- a/lib/Target/X86/X86ISelLowering.cpp
+++ b/lib/Target/X86/X86ISelLowering.cpp
@@ -6076,8 +6076,7 @@ X86TargetLowering::LowerGlobalAddress(const GlobalValue *GV, DebugLoc dl,
// load.
if (isGlobalStubReference(OpFlags))
Result = DAG.getLoad(getPointerTy(), dl, DAG.getEntryNode(), Result,
- MachinePointerInfo(PseudoSourceValue::getGOT()),
- false, false, 0);
+ MachinePointerInfo::getGOT(), false, false, 0);
// If there was a non-zero offset that we didn't fold, create an explicit
// addition for it.
@@ -6182,8 +6181,7 @@ static SDValue LowerToTLSExecModel(GlobalAddressSDNode *GA, SelectionDAG &DAG,
if (model == TLSModel::InitialExec)
Offset = DAG.getLoad(PtrVT, dl, DAG.getEntryNode(), Offset,
- MachinePointerInfo(PseudoSourceValue::getGOT()),
- false, false, 0);
+ MachinePointerInfo::getGOT(), false, false, 0);
// The address of the thread local variable is the add of the thread
// pointer with the offset of the variable.