SelectionDAG: Appease the bots that don't like my union

Should fix the breakage in r262902.

llvm-svn: 262908
This commit is contained in:
Justin Bogner 2016-03-08 03:51:58 +00:00
parent 3866cc5f69
commit 6e2b99516a
1 changed files with 3 additions and 6 deletions

View File

@ -2059,12 +2059,9 @@ template <> struct GraphTraits<SDNode*> {
///
/// This needs to be a union because the largest node differs on 32 bit systems
/// with 4 and 8 byte pointer alignment, respectively.
union LargestSDNode {
AtomicSDNode Atomic;
TargetIndexSDNode TargetIndex;
BlockAddressSDNode BlockAddress;
GlobalAddressSDNode GlobalAddress;
};
typedef AlignedCharArrayUnion<AtomicSDNode, TargetIndexSDNode,
BlockAddressSDNode, GlobalAddressSDNode>
LargestSDNode;
/// The SDNode class with the greatest alignment requirement.
typedef GlobalAddressSDNode MostAlignedSDNode;