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 efff215 commit 712560bCopy full SHA for 712560b
llvm/lib/Analysis/ConstantFolding.cpp
@@ -3447,7 +3447,7 @@ static Constant *ConstantFoldFixedVectorCall(
3447
// Gather a column of constants.
3448
for (unsigned J = 0, JE = Operands.size(); J != JE; ++J) {
3449
// Some intrinsics use a scalar type for certain arguments.
3450
- if (isVectorIntrinsicWithScalarOpAtArg(IntrinsicID, J)) {
+ if (isVectorIntrinsicWithScalarOpAtArg(IntrinsicID, J, /*TTI=*/nullptr)) {
3451
Lane[J] = Operands[J];
3452
continue;
3453
}
0 commit comments