File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -337,15 +337,15 @@ bool IGCVectorizer::handleBinaryInstruction(VecArr &Slice) {
337337 return true ;
338338 }
339339 }
340- VecArr Operands;
340+ VecVal Operands;
341341 for (unsigned int OperNum = 0 ; OperNum < First->getNumOperands (); ++OperNum) {
342342 Value* Vectorized = checkOperandsToBeVectorized (First, OperNum, Slice);
343343 if (Vectorized)
344- Operands.push_back (llvm::cast<Instruction>( Vectorized) );
344+ Operands.push_back (Vectorized);
345345 else {
346346 Value* VectorizedOperand = vectorizeSlice (Slice, OperNum);
347347 if (!VectorizedOperand) { PRINT_LOG_NL (" Couldn't vectorize Slice" ); return false ; }
348- Operands.push_back (llvm::cast<Instruction>( VectorizedOperand) );
348+ Operands.push_back (VectorizedOperand);
349349 }
350350 }
351351
You can’t perform that action at this time.
0 commit comments