OSDN Git Service

The version of AtomicSDNode::AtomicSDNode used (only) for
authorDale Johannesen <dalej@apple.com>
Thu, 11 Sep 2008 03:12:59 +0000 (03:12 +0000)
committerDale Johannesen <dalej@apple.com>
Thu, 11 Sep 2008 03:12:59 +0000 (03:12 +0000)
commitd18a462bdd8ba6a7dd14e40ff0ebaedf9c46de26
tree11c8c933b5455f2321cb89ff390c0a5fd10b7716
parentb63691350d3e08d4bf6d400b79e3174b5bd1d61d
The version of AtomicSDNode::AtomicSDNode used (only) for
cmp-and-swap reversed the Cmp and Swap arguments; comments
make it clear this is unintentional.  Unfortunately, the
x86 BE had a compensating reversal, which is removed here.
PPC is OK.

From inspection of the Alpha code I think it is OK, but
if somebody has that platform please check it out.  I
cannot test on that platform.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@56091 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/CodeGen/SelectionDAGNodes.h
lib/Target/X86/X86ISelLowering.cpp