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 3f4b2f1 commit 29925b7Copy full SHA for 29925b7
llvm/lib/Target/ARM/ARMTargetTransformInfo.cpp
@@ -1486,7 +1486,7 @@ InstructionCost ARMTTIImpl::getArithmeticInstrCost(
1486
auto IsExtInst = [](const Value *V) -> bool {
1487
return isa<ZExtInst>(V) || isa<SExtInst>(V);
1488
};
1489
- auto IsExtensionFromHalf = [&, IsExtInst](const Value *V) -> bool {
+ auto IsExtensionFromHalf = [](const Value *V) -> bool {
1490
return cast<Instruction>(V)->getOperand(0)->getType()->isIntegerTy(16);
1491
1492
0 commit comments