Change the interface to the type legalization method
ReplaceNodeResults: rather than returning a node which
must have the same number of results as the original
node (which means mucking around with MERGE_VALUES,
and which is also easy to get wrong since SelectionDAG
folding may mean you don't get the node you expect),
return the results in a vector.

llvm-svn: 60348
20 files changed
tree: 7f90bca20dd394c87578655b48dd1ec8040fe7f6
  1. clang/
  2. llvm/