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 dba637d commit 014b186Copy full SHA for 014b186
llvm/lib/Transforms/Vectorize/VectorCombine.cpp
@@ -666,8 +666,8 @@ bool VectorCombine::foldInsExtFNeg(Instruction &I) {
666
return false;
667
668
auto *VecTy = cast<FixedVectorType>(I.getType());
669
+ auto *ScalarTy = VecTy->getScalarType();
670
auto *SrcVecTy = dyn_cast<FixedVectorType>(SrcVec->getType());
- auto *ScalarTy = SrcVecTy->getScalarType();
671
if (!SrcVecTy || ScalarTy != SrcVecTy->getScalarType())
672
673
0 commit comments