diff options
| author | Ahmed Bougacha <ahmed.bougacha@gmail.com> | 2016-02-15 19:32:54 +0000 |
|---|---|---|
| committer | Ahmed Bougacha <ahmed.bougacha@gmail.com> | 2016-02-15 19:32:54 +0000 |
| commit | 71c992d85396071855fb1fcce8fc9433d7f41593 (patch) | |
| tree | 896e5eb85468bac9ea89ec7b59945526e8d2f17d /llvm/lib | |
| parent | e4e9bfeea446d6a44feb3f0f731813720c64ec9a (diff) | |
| download | bcm5719-llvm-71c992d85396071855fb1fcce8fc9433d7f41593.tar.gz bcm5719-llvm-71c992d85396071855fb1fcce8fc9433d7f41593.zip | |
[X86] Remove now-dead variable and redundant assert. NFC.
The variable was made dead in NDEBUG by r260901, but the assert
was redundant anyway: get rid of both.
llvm-svn: 260908
Diffstat (limited to 'llvm/lib')
| -rw-r--r-- | llvm/lib/Target/X86/X86ISelLowering.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/llvm/lib/Target/X86/X86ISelLowering.cpp b/llvm/lib/Target/X86/X86ISelLowering.cpp index 03d7c1f8ffe..976c2eea231 100644 --- a/llvm/lib/Target/X86/X86ISelLowering.cpp +++ b/llvm/lib/Target/X86/X86ISelLowering.cpp @@ -13326,10 +13326,8 @@ static SDValue lowerUINT_TO_FP_vXi32(SDValue Op, SelectionDAG &DAG, if (VecFloatVT != Op->getSimpleValueType(0)) return SDValue(); - unsigned NumElts = VecIntVT.getVectorNumElements(); assert((VecIntVT == MVT::v4i32 || VecIntVT == MVT::v8i32) && "Unsupported custom type"); - assert(NumElts <= 8 && "The size of the constant array must be fixed"); // In the #idef/#else code, we have in common: // - The vector of constants: |

