]> granicus.if.org Git - llvm/commit
[SDAG] Update generic code to conservatively check for isAtomic in addition to isVolatile
authorPhilip Reames <listmail@philipreames.com>
Thu, 12 Sep 2019 22:49:17 +0000 (22:49 +0000)
committerPhilip Reames <listmail@philipreames.com>
Thu, 12 Sep 2019 22:49:17 +0000 (22:49 +0000)
commit11df0bc741030294ef300b128897d1ef54c23438
treea2556b7c314abcaef41e8efb208bf3dfdabfc6a5
parent4736324188181a99e8463b18fe5800b486abe11b
[SDAG] Update generic code to conservatively check for isAtomic in addition to isVolatile

This is the first sweep of generic code to add isAtomic bailouts where appropriate. The intention here is to have the switch from AtomicSDNode to LoadSDNode/StoreSDNode be close to NFC; that is, I'm not looking to allow additional optimizations at this time. That will come later.  See D66309 for context.

Differential Revision: https://reviews.llvm.org/D66318

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@371786 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Target/TargetSelectionDAG.td
lib/CodeGen/SelectionDAG/DAGCombiner.cpp
lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp
lib/CodeGen/SelectionDAG/SelectionDAG.cpp
lib/CodeGen/SelectionDAG/TargetLowering.cpp
test/CodeGen/X86/atomic-unordered.ll