Skip to content

Commit 29925b7

Browse files
authored
[NFC][CostModel][ARM] Remove redundant lambda capture (#132018)
Buildbot failures were caused by PR #122713. This was due to unused captures in a lambda function.
1 parent 3f4b2f1 commit 29925b7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/Target/ARM/ARMTargetTransformInfo.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1486,7 +1486,7 @@ InstructionCost ARMTTIImpl::getArithmeticInstrCost(
14861486
auto IsExtInst = [](const Value *V) -> bool {
14871487
return isa<ZExtInst>(V) || isa<SExtInst>(V);
14881488
};
1489-
auto IsExtensionFromHalf = [&, IsExtInst](const Value *V) -> bool {
1489+
auto IsExtensionFromHalf = [](const Value *V) -> bool {
14901490
return cast<Instruction>(V)->getOperand(0)->getType()->isIntegerTy(16);
14911491
};
14921492

0 commit comments

Comments
 (0)