diff options
| author | Owen Anderson <resistor@mac.com> | 2009-08-11 20:47:22 +0000 |
|---|---|---|
| committer | Owen Anderson <resistor@mac.com> | 2009-08-11 20:47:22 +0000 |
| commit | 9f94459d24d82504f0962dfe366a5b39576c4809 (patch) | |
| tree | 30fe4c6ae2098fabf6467a05035d39feec7d6b59 /llvm/lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp | |
| parent | a1e04d43c4986c24723e8840d9f7a00ed068c2df (diff) | |
| download | llvm-9f94459d24d82504f0962dfe366a5b39576c4809.zip llvm-9f94459d24d82504f0962dfe366a5b39576c4809.tar.gz llvm-9f94459d24d82504f0962dfe366a5b39576c4809.tar.bz2 | |
Split EVT into MVT and EVT, the former representing _just_ a primitive type, while
the latter is capable of representing either a primitive or an extended type.
llvm-svn: 78713
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp')
| -rw-r--r-- | llvm/lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp b/llvm/lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp index aa647fd..ca19430 100644 --- a/llvm/lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp +++ b/llvm/lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp @@ -306,7 +306,7 @@ SDValue VectorLegalizer::UnrollVectorOp(SDValue Op) { Operands[j] = DAG.getNode(ISD::EXTRACT_VECTOR_ELT, dl, OperandEltVT, Operand, - DAG.getConstant(i, EVT::i32)); + DAG.getConstant(i, MVT::i32)); } else { // A scalar operand; just use it as is. Operands[j] = Operand; |
