diff options
Diffstat (limited to 'include/llvm/CodeGen/SelectionDAGNodes.h')
-rw-r--r-- | include/llvm/CodeGen/SelectionDAGNodes.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/llvm/CodeGen/SelectionDAGNodes.h b/include/llvm/CodeGen/SelectionDAGNodes.h index a8b233cb8f..7835f8cc96 100644 --- a/include/llvm/CodeGen/SelectionDAGNodes.h +++ b/include/llvm/CodeGen/SelectionDAGNodes.h @@ -1624,8 +1624,8 @@ class AtomicSDNode : public MemSDNode { Align, /*isVolatile=*/true) { Ops[0] = Chain; Ops[1] = Ptr; - Ops[2] = Swp; - Ops[3] = Cmp; + Ops[2] = Cmp; + Ops[3] = Swp; InitOperands(Ops, 4); } AtomicSDNode(unsigned Opc, SDVTList VTL, SDValue Chain, SDValue Ptr, |