[SelectionDAG] move constant or splat functions to common location
authorSanjay Patel <spatel@rotateright.com>
Sun, 25 Nov 2018 16:09:32 +0000 (16:09 +0000)
committerSanjay Patel <spatel@rotateright.com>
Sun, 25 Nov 2018 16:09:32 +0000 (16:09 +0000)
commit04435677d0c98837afad69f07b028a40b73a959e
tree41661cde7b5201090b506f98578dc4d1b88982ec
parent36296c04843c5a7e5532c8058a2f06786f0bd027
[SelectionDAG] move constant or splat functions to common location

rL347502 moved the null sibling, so we should group all of these
together. I'm not sure why these aren't methods of the SDValue
class itself, but that's another patch if that's possible.

llvm-svn: 347523
llvm/include/llvm/CodeGen/SelectionDAGNodes.h
llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp