Tweak the handling of MERGE_VALUES nodes: remove the need for
authorDuncan Sands <baldrick@free.fr>
Fri, 23 Sep 2011 13:59:22 +0000 (13:59 +0000)
committerDuncan Sands <baldrick@free.fr>
Fri, 23 Sep 2011 13:59:22 +0000 (13:59 +0000)
commit4c19e12d28749c717d3b384962c9ec92796af1c9
treef79e5a716b29b9d20593c80250e4e240a02d9043
parentc56d65f63cd632ef57d9f80b4539f15a2f937364
Tweak the handling of MERGE_VALUES nodes: remove the need for
DecomposeMERGE_VALUES to "know" that results are legalized in
a particular order, by passing it the number of the result
being legalized (the type legalization core provides this, it
just needs to be passed on).

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@140373 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/SelectionDAG/LegalizeFloatTypes.cpp
lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp
lib/CodeGen/SelectionDAG/LegalizeTypes.cpp
lib/CodeGen/SelectionDAG/LegalizeTypes.h
lib/CodeGen/SelectionDAG/LegalizeTypesGeneric.cpp
lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp