[SDAG] At the suggestion of Hal, switch to an output parameter that
authorChandler Carruth <chandlerc@gmail.com>
Wed, 9 Jul 2014 00:41:34 +0000 (00:41 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Wed, 9 Jul 2014 00:41:34 +0000 (00:41 +0000)
commitd0de9868a6ee6769939fa01d9ad9f723f3f484ec
tree9b5f4f72eefd10caa7da68875864c540b554a319
parentbab04b583ca97156906f7097f4476b016adfab1e
[SDAG] At the suggestion of Hal, switch to an output parameter that
tracks which elements of the build vector are in fact undef.

This should make actually inpsecting them (likely in my next patch)
reasonably pretty. Also makes the output parameter optional as it is
clear now that *most* users are happy with undefs in their splats.

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