Skip to content

Commit 499bc33

Browse files
committed
Remove unnecessary this capture
Signed-off-by: John Lu <[email protected]>
1 parent 13213ba commit 499bc33

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

llvm/lib/Target/AMDGPU/SIInstrInfo.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10652,8 +10652,8 @@ bool SIInstrInfo::optimizeCompareInstr(MachineInstr &CmpInstr, Register SrcReg,
1065210652
return true;
1065310653
};
1065410654

10655-
const auto optimizeCmpSelect = [&CmpInstr, SrcReg, CmpValue, MRI, optimizeSCC,
10656-
this]() -> bool {
10655+
const auto optimizeCmpSelect = [&CmpInstr, SrcReg, CmpValue, MRI,
10656+
optimizeSCC]() -> bool {
1065710657
if (CmpValue != 0)
1065810658
return false;
1065910659

0 commit comments

Comments
 (0)