diff options
author | Chris Lattner <sabre@nondot.org> | 2010-09-21 04:53:42 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2010-09-21 04:53:42 +0000 |
commit | 60bddc8bcd787be645d2f3b64117fee884270e6a (patch) | |
tree | 8458eb0389080a5e2d03843b016b6c06cd2548f9 /include/llvm/CodeGen/SelectionDAG.h | |
parent | 0531356e4da1451b1b0b9e8c85365c2a58ca8282 (diff) | |
download | external_llvm-60bddc8bcd787be645d2f3b64117fee884270e6a.zip external_llvm-60bddc8bcd787be645d2f3b64117fee884270e6a.tar.gz external_llvm-60bddc8bcd787be645d2f3b64117fee884270e6a.tar.bz2 |
chagne interface to SelectionDAG::getAtomic to take a MachinePointerInfo,
eliminating some weird "infer a frame address" logic which was dead.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@114396 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/CodeGen/SelectionDAG.h')
-rw-r--r-- | include/llvm/CodeGen/SelectionDAG.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/llvm/CodeGen/SelectionDAG.h b/include/llvm/CodeGen/SelectionDAG.h index 7723fa0..7774675 100644 --- a/include/llvm/CodeGen/SelectionDAG.h +++ b/include/llvm/CodeGen/SelectionDAG.h @@ -587,8 +587,8 @@ public: /// getAtomic - Gets a node for an atomic op, produces result and chain and /// takes 3 operands SDValue getAtomic(unsigned Opcode, DebugLoc dl, EVT MemVT, SDValue Chain, - SDValue Ptr, SDValue Cmp, SDValue Swp, const Value* PtrVal, - unsigned Alignment=0); + SDValue Ptr, SDValue Cmp, SDValue Swp, + MachinePointerInfo PtrInfo, unsigned Alignment=0); SDValue getAtomic(unsigned Opcode, DebugLoc dl, EVT MemVT, SDValue Chain, SDValue Ptr, SDValue Cmp, SDValue Swp, MachineMemOperand *MMO); |