Generalize the specialized flag-carrying SDNodes by moving flags into SDNode.
authorAmara Emerson <amara.emerson@arm.com>
Mon, 1 May 2017 15:17:51 +0000 (15:17 +0000)
committerAmara Emerson <amara.emerson@arm.com>
Mon, 1 May 2017 15:17:51 +0000 (15:17 +0000)
commitd28f0cd44892a01781da466e3ad01014c1a758cf
tree61d9ad789345baefe35a72edabd29a8eb93cdc93
parentd2f13b62d97bd48af999ac47058759f2a92123ce
Generalize the specialized flag-carrying SDNodes by moving flags into SDNode.

This removes BinaryWithFlagsSDNode, and flags are now all passed by value.

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

llvm-svn: 301803
14 files changed:
llvm/include/llvm/CodeGen/SelectionDAG.h
llvm/include/llvm/CodeGen/SelectionDAGNodes.h
llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
llvm/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp
llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
llvm/lib/Target/AMDGPU/AMDGPUISelDAGToDAG.cpp
llvm/lib/Target/AMDGPU/AMDGPUISelLowering.h
llvm/lib/Target/AMDGPU/SIISelLowering.cpp
llvm/lib/Target/PowerPC/PPCISelLowering.cpp
llvm/lib/Target/X86/X86ISelLowering.cpp