diff options
author | Chris Lattner <sabre@nondot.org> | 2010-09-21 16:36:31 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2010-09-21 16:36:31 +0000 |
commit | 1ffcf527c7566b623c79b687c10eb78c926502d7 (patch) | |
tree | d99ef585598d313ac64f2fa9a893f322921022eb /llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp | |
parent | f72c3c08a41e202fce1a11ef9c46004fb71e40cf (diff) | |
download | bcm5719-llvm-1ffcf527c7566b623c79b687c10eb78c926502d7.tar.gz bcm5719-llvm-1ffcf527c7566b623c79b687c10eb78c926502d7.zip |
continue MachinePointerInfo'izing, eliminating use of one of the old
getLoad overloads.
llvm-svn: 114443
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp')
-rw-r--r-- | llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp b/llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp index ca97ed30a3c..7fff8ada8c1 100644 --- a/llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp +++ b/llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp @@ -1916,8 +1916,7 @@ TargetLowering::SimplifySetCC(EVT VT, SDValue N0, SDValue N1, DAG.getConstant(bestOffset, PtrType)); unsigned NewAlign = MinAlign(Lod->getAlignment(), bestOffset); SDValue NewLoad = DAG.getLoad(newVT, dl, Lod->getChain(), Ptr, - Lod->getSrcValue(), - Lod->getSrcValueOffset() + bestOffset, + Lod->getPointerInfo().getWithOffset(bestOffset), false, false, NewAlign); return DAG.getSetCC(dl, VT, DAG.getNode(ISD::AND, dl, newVT, NewLoad, |