OSDN Git Service

[SelectionDAG] Use a union of bitfield structs for SDNode::SubclassData.
authorJustin Lebar <jlebar@google.com>
Tue, 23 Aug 2016 17:18:11 +0000 (17:18 +0000)
committerJustin Lebar <jlebar@google.com>
Tue, 23 Aug 2016 17:18:11 +0000 (17:18 +0000)
commit073ec4ad4962556bde4616f3f59e80dc80c0943a
tree0a7d79190028b9866768ec552e5464bb25ed6eb5
parent66abb74f7fa5115c0b6c49afcb3a5fb85e3815bb
[SelectionDAG] Use a union of bitfield structs for SDNode::SubclassData.

Summary:
This greatly simplifies our handling of SDNode::SubclassData.

NFC, hopefully.  :)

See discussion in D23035 for discussion about the design API of these
bitfields.

Reviewers: chandlerc

Subscribers: llvm-commits, rnk

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

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