Skip to content

Commit 8697d44

Browse files
committed
Fix warning "defined but not used" for debug function (NFC)
1 parent ffc6e59 commit 8697d44

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/CodeGen/CodeGenPrepare.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -595,7 +595,7 @@ bool CodeGenPrepare::runOnFunction(Function &F) {
595595
}
596596

597597
// Verify BFI has been updated correctly by recomputing BFI and comparing them.
598-
void CodeGenPrepare::verifyBFIUpdates(Function &F) {
598+
void LLVM_ATTRIBUTE_UNUSED CodeGenPrepare::verifyBFIUpdates(Function &F) {
599599
DominatorTree NewDT(F);
600600
LoopInfo NewLI(NewDT);
601601
BranchProbabilityInfo NewBPI(F, NewLI, TLInfo);

0 commit comments

Comments
 (0)