Move the IsVolatile and SVOffset fields into the MemSDNode base
authorDan Gohman <gohman@apple.com>
Wed, 9 Jul 2008 21:23:02 +0000 (21:23 +0000)
committerDan Gohman <gohman@apple.com>
Wed, 9 Jul 2008 21:23:02 +0000 (21:23 +0000)
commit492f276cbc7be564c6af7b302618ee5436e4619c
tree85480527273c860e3620838f03cccc32af5ec0e7
parentf2452c5f48e13cf3a9e620d22d5040a90133ddca
Move the IsVolatile and SVOffset fields into the MemSDNode base
class, and store IsVolatile and Alignment in a more compact form.
This makes AtomicSDNode slightly larger, but it shrinks LoadSDNode
and StoreSDNode, which are much more common and are the largest of
the SDNode subclasses. Also, this lets the isVolatile() and
getAlignment() accessors be non-virtual.

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