diff options
author | Evan Cheng <evan.cheng@apple.com> | 2007-04-25 18:33:21 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2007-04-25 18:33:21 +0000 |
commit | c1a3520580c11f5d3430d5dab1e8006f8a0c7dc2 (patch) | |
tree | 0442a360d70456f924ff29eef8b5e9a3af855c6c /lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp | |
parent | 68c01b3cf35bb7ed2d3a3f63053e304e092bcfdd (diff) |
This was lefted out. Fixed sumarray-dbl.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36445 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp')
-rw-r--r-- | lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp b/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp index 7a62da5571..80cb25e3c3 100644 --- a/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp +++ b/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp @@ -315,6 +315,7 @@ unsigned FunctionLoweringInfo::CreateRegForValue(const Value *V) { while (NumElts > 1 && !TLI.isTypeLegal(VecTy)) { NumElts >>= 1; NumVectorRegs <<= 1; + VecTy = getVectorType(EltTy, NumElts); } // Check that VecTy isn't a 1-element vector. |