mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-26 04:32:44 +01:00
SelectionDAG: Appease the bots that don't like my union
Should fix the breakage in r262902. llvm-svn: 262908
This commit is contained in:
parent
db1099586d
commit
7c5a0b7bcf
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user