[SDAG] Add an assert that we don't mess up the number of values when
authorChandler Carruth <chandlerc@gmail.com>
Sat, 26 Jul 2014 05:53:16 +0000 (05:53 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Sat, 26 Jul 2014 05:53:16 +0000 (05:53 +0000)
commitf1ce818befba97923e0a141adbd0691ddb7c55b7
tree4246ec8243f65de0356e89dc8ba7d4019b96597b
parent722419ef52718104ea92f5367281255be6af53c1
[SDAG] Add an assert that we don't mess up the number of values when
replacing nodes in the legalizer.

This caught a number of bugs for me during development.

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