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 309b8f2 commit 03cc71bCopy full SHA for 03cc71b
llvm/lib/Analysis/ConstantFolding.cpp
@@ -3438,7 +3438,7 @@ static Constant *ConstantFoldFixedVectorCall(
3438
// Gather a column of constants.
3439
for (unsigned J = 0, JE = Operands.size(); J != JE; ++J) {
3440
// Some intrinsics use a scalar type for certain arguments.
3441
- if (isVectorIntrinsicWithScalarOpAtArg(IntrinsicID, J)) {
+ if (isVectorIntrinsicWithScalarOpAtArg(IntrinsicID, J, /*TTI=*/nullptr)) {
3442
Lane[J] = Operands[J];
3443
continue;
3444
}
0 commit comments