[X86] Don't transform atomic-load-add into an inc/dec when inc/dec is slow
authorRobin Morisset <morisset@google.com>
Wed, 8 Oct 2014 23:16:23 +0000 (23:16 +0000)
committerRobin Morisset <morisset@google.com>
Wed, 8 Oct 2014 23:16:23 +0000 (23:16 +0000)
commitb79d91ca1c3a098b2bd29778013f77c7e3cdb6fe
tree599050ac305b0723c86191536109cc06279cbbc4
parentf616a4ba06c4b2c2cedc9c959f449f0897745174
[X86] Don't transform atomic-load-add into an inc/dec when inc/dec is slow

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@219357 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86ISelDAGToDAG.cpp
test/CodeGen/X86/atomic_add.ll