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 | llvm-1ffcf527c7566b623c79b687c10eb78c926502d7.zip llvm-1ffcf527c7566b623c79b687c10eb78c926502d7.tar.gz llvm-1ffcf527c7566b623c79b687c10eb78c926502d7.tar.bz2 | |
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 ca97ed3..7fff8ad 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, |
