OSDN Git Service

[SelectionDAG] Pulled out common code for CONCAT_VECTORS node creation
authorSimon Pilgrim <llvm-dev@redking.me.uk>
Sun, 3 Jan 2016 18:24:19 +0000 (18:24 +0000)
committerSimon Pilgrim <llvm-dev@redking.me.uk>
Sun, 3 Jan 2016 18:24:19 +0000 (18:24 +0000)
commitc4a05c2991609220dfed685f446cc400961d07c4
tree725376cf89849942fcfce73ba4517cb5cb99ff66
parent0dd2ca765dde5f798cd5dce09d69dc458003b26f
[SelectionDAG] Pulled out common code for CONCAT_VECTORS node creation

Pulled out the similar CONCAT_VECTORS creation code from the 2/3 operand getNode() calls (to handle all UNDEF and all BUILD_VECTOR cases). Added a similar handler to the general getNode() call as well.

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