diff options
author | Dan Gohman <gohman@apple.com> | 2008-06-25 16:07:49 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2008-06-25 16:07:49 +0000 |
commit | fd4418fc9b4725c44210c169c4d6500be468ca70 (patch) | |
tree | 09b2f9af6cb1c7dcc96d57e36b44724a5e3e87e5 /lib/CodeGen/SelectionDAG/LegalizeDAG.cpp | |
parent | 21b9d283eae05e1e50d011c9038d77eb7bf02f49 (diff) |
Remove the OrigVT member from AtomicSDNode, as it is redundant with
the base SDNode's VTList.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@52722 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/SelectionDAG/LegalizeDAG.cpp')
-rw-r--r-- | lib/CodeGen/SelectionDAG/LegalizeDAG.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp b/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp index cf33508751..f087496996 100644 --- a/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp +++ b/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp @@ -4276,7 +4276,7 @@ SDOperand SelectionDAGLegalize::PromoteOp(SDOperand Op) { Tmp3 = PromoteOp(Node->getOperand(3)); Result = DAG.getAtomic(Node->getOpcode(), AtomNode->getChain(), AtomNode->getBasePtr(), Tmp2, Tmp3, - AtomNode->getVT(), AtomNode->getSrcValue(), + AtomNode->getSrcValue(), AtomNode->getAlignment()); // Remember that we legalized the chain. AddLegalizedOperand(Op.getValue(1), LegalizeOp(Result.getValue(1))); @@ -4297,7 +4297,7 @@ SDOperand SelectionDAGLegalize::PromoteOp(SDOperand Op) { Tmp2 = PromoteOp(Node->getOperand(2)); Result = DAG.getAtomic(Node->getOpcode(), AtomNode->getChain(), AtomNode->getBasePtr(), Tmp2, - AtomNode->getVT(), AtomNode->getSrcValue(), + AtomNode->getSrcValue(), AtomNode->getAlignment()); // Remember that we legalized the chain. AddLegalizedOperand(Op.getValue(1), LegalizeOp(Result.getValue(1))); |