diff options
author | Chris Lattner <sabre@nondot.org> | 2006-03-15 22:19:46 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2006-03-15 22:19:46 +0000 |
commit | 4024c00ce765146d960e2b4045c06bbfa2e12005 (patch) | |
tree | f01dde894ece30eb4a63bdafe36a2032e8fa1336 /llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp | |
parent | cad70c3e463c444570ee5b147ee68b0c92fc879d (diff) | |
download | bcm5719-llvm-4024c00ce765146d960e2b4045c06bbfa2e12005.tar.gz bcm5719-llvm-4024c00ce765146d960e2b4045c06bbfa2e12005.zip |
add support for vector->vector casts
llvm-svn: 26788
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp')
-rw-r--r-- | llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp b/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp index 1a965a22e60..459048ad89b 100644 --- a/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp +++ b/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp @@ -1086,8 +1086,8 @@ SDOperand SelectionDAG::getNode(unsigned Opcode, MVT::ValueType VT, break; case ISD::BIT_CONVERT: // Basic sanity checking. - assert(MVT::getSizeInBits(VT)==MVT::getSizeInBits(Operand.getValueType()) && - "Cannot BIT_CONVERT between two different types!"); + assert(MVT::getSizeInBits(VT) == MVT::getSizeInBits(Operand.getValueType()) + && "Cannot BIT_CONVERT between two different types!"); if (VT == Operand.getValueType()) return Operand; // noop conversion. if (OpOpcode == ISD::BIT_CONVERT) // bitconv(bitconv(x)) -> bitconv(x) return getNode(ISD::BIT_CONVERT, VT, Operand.getOperand(0)); |