OSDN Git Service

Implement framework for scalarizing node results. This is sufficient
authorChris Lattner <sabre@nondot.org>
Tue, 4 Dec 2007 07:48:46 +0000 (07:48 +0000)
committerChris Lattner <sabre@nondot.org>
Tue, 4 Dec 2007 07:48:46 +0000 (07:48 +0000)
commiteb1819d1e5d6790c24bd92e4cce2058f81a5791a
tree12fcb41ae490f661a38ca24f6a73757719278978
parent13c207b5c84cbac78147fa4472a4e14232cb6feb
Implement framework for scalarizing node results.  This is sufficient
to codegen this:

define float @test_extract_elt(<1 x float> * %P) {
%p = load <1 x float>* %P
%R = extractelement <1 x float> %p, i32 0
ret float %R
}

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