Skip to content

Commit a49f026

Browse files
committed
[NFC][CostModel][ARM] Remove redundant lambda capture
Buildbot failures were caused by PR llvm#122713. This was due to unused captures in a lambda function. Change-Id: Ie0907396c2551190dd982bfa180934b4075271d8
1 parent 861efd4 commit a49f026

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)