chagne interface to SelectionDAG::getAtomic to take a MachinePointerInfo,
[oota-llvm.git] / include / llvm / CodeGen / SelectionDAG.h
index 7723fa00e90dad663a1caf8546b3a97b71504e81..7774675256da1330b309e1578acfb90ff0822eb2 100644 (file)
@@ -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);