summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/SystemZ
diff options
context:
space:
mode:
authorKonstantin Zhuravlyov <kzhuravl_dev@outlook.com>2016-10-15 22:01:18 +0000
committerKonstantin Zhuravlyov <kzhuravl_dev@outlook.com>2016-10-15 22:01:18 +0000
commit8ea0246e93a29095dd8a0ea5e40bb3aa157d3611 (patch)
treed652cf9bd3f1a24155a328d0810ba7c4cf788177 /llvm/lib/Target/SystemZ
parent590ad7037e534bd0a9a52e91391bd35ec5834b06 (diff)
downloadbcm5719-llvm-8ea0246e93a29095dd8a0ea5e40bb3aa157d3611.tar.gz
bcm5719-llvm-8ea0246e93a29095dd8a0ea5e40bb3aa157d3611.zip
[MachineMemOperand] Move synchronization scope and atomic orderings from SDNode to MachineMemOperand, and remove redundant getAtomic* member functions from SelectionDAG.
Differential Revision: https://reviews.llvm.org/D24577 llvm-svn: 284312
Diffstat (limited to 'llvm/lib/Target/SystemZ')
-rw-r--r--llvm/lib/Target/SystemZ/SystemZISelLowering.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/llvm/lib/Target/SystemZ/SystemZISelLowering.cpp b/llvm/lib/Target/SystemZ/SystemZISelLowering.cpp
index 657ca797d15..3108a5b2564 100644
--- a/llvm/lib/Target/SystemZ/SystemZISelLowering.cpp
+++ b/llvm/lib/Target/SystemZ/SystemZISelLowering.cpp
@@ -3310,8 +3310,7 @@ SDValue SystemZTargetLowering::lowerATOMIC_LOAD_SUB(SDValue Op,
if (NegSrc2.getNode())
return DAG.getAtomic(ISD::ATOMIC_LOAD_ADD, DL, MemVT,
Node->getChain(), Node->getBasePtr(), NegSrc2,
- Node->getMemOperand(), Node->getOrdering(),
- Node->getSynchScope());
+ Node->getMemOperand());
// Use the node as-is.
return Op;
OpenPOWER on IntegriCloud