OSDN Git Service

[SelectionDAG] Kill last uses of getAtomic w/o a MMO operand [NFC]
authorPhilip Reames <listmail@philipreames.com>
Wed, 13 Feb 2019 20:42:59 +0000 (20:42 +0000)
committerPhilip Reames <listmail@philipreames.com>
Wed, 13 Feb 2019 20:42:59 +0000 (20:42 +0000)
commit5a03a071de7cfde255fe8bb40aaffcef02c600c2
tree3d16c5c3eb298336cbf90e8026540197c93c701a
parent21b311090c4f2eb5e6517c4a840d3676c298f076
[SelectionDAG] Kill last uses of getAtomic w/o a MMO operand [NFC]

The helper function was used by only two callers, and largely ended up providing distinct functionality based on optional arguments and opcode.  Inline and simply to make the functionality much more clear.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@353977 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/CodeGen/SelectionDAG.h
lib/CodeGen/SelectionDAG/SelectionDAG.cpp
lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp