We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cda7e88 commit be5d425Copy full SHA for be5d425
llvm/lib/Target/DirectX/DXILDataScalarization.cpp
@@ -181,9 +181,7 @@ bool DataScalarizerVisitor::visitExtractElementInst(ExtractElementInst &EEI) {
181
182
IRBuilder<> Builder(&EEI);
183
VectorType *VecTy = EEI.getVectorOperandType();
184
- assert(VecTy->getElementCount().isFixed() &&
185
- "Vector operand of ExtractElement must have a fixed size");
186
-
+
187
Type *ArrTy = equivalentArrayTypeFromVector(VecTy);
188
Value *ArrAlloca = Builder.CreateAlloca(ArrTy);
189
0 commit comments