diff options
author | Tim Northover <Tim.Northover@arm.com> | 2013-04-20 12:32:17 +0000 |
---|---|---|
committer | Tim Northover <Tim.Northover@arm.com> | 2013-04-20 12:32:17 +0000 |
commit | a2b533906aa83615c5f50582bb8835bd27905388 (patch) | |
tree | e8f19fb625c20cf09c94d72a56a82370c6067f73 /llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp | |
parent | b1a19a8a0fefb7f10cff5c41b24c8df03ee5d20c (diff) | |
download | bcm5719-llvm-a2b533906aa83615c5f50582bb8835bd27905388.tar.gz bcm5719-llvm-a2b533906aa83615c5f50582bb8835bd27905388.zip |
Remove unused MEMBARRIER DAG node; it's been replaced by ATOMIC_FENCE.
llvm-svn: 179939
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp')
-rw-r--r-- | llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp b/llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp index 51cc254b2c8..2a1d8c2819e 100644 --- a/llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp +++ b/llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp @@ -2759,8 +2759,7 @@ void SelectionDAGLegalize::ExpandNode(SDNode *Node) { Results.push_back(DAG.getConstant(0, MVT::i32)); Results.push_back(Node->getOperand(0)); break; - case ISD::ATOMIC_FENCE: - case ISD::MEMBARRIER: { + case ISD::ATOMIC_FENCE: { // If the target didn't lower this, lower it to '__sync_synchronize()' call // FIXME: handle "fence singlethread" more efficiently. TargetLowering::ArgListTy Args; |