[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)
commit5a85c7beb896adccd5ad07fc11d31cf2c2fd7964
tree0481e698abf05f9c1427d9ee7d161f209c44155e
parent98655fa4d8205b72fd4b032f899f1f09c25245d7
[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.

llvm-svn: 214022
llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp