projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ffc6e59
)
Fix warning "defined but not used" for debug function (NFC)
author
Mehdi Amini
<joker.eph@gmail.com>
Sun, 17 May 2020 23:16:21 +0000
(23:16 +0000)
committer
Mehdi Amini
<joker.eph@gmail.com>
Sun, 17 May 2020 23:50:18 +0000
(23:50 +0000)
llvm/lib/CodeGen/CodeGenPrepare.cpp
patch
|
blob
|
history
diff --git
a/llvm/lib/CodeGen/CodeGenPrepare.cpp
b/llvm/lib/CodeGen/CodeGenPrepare.cpp
index
59cbaf4
..
1c9592f
100644
(file)
--- a/
llvm/lib/CodeGen/CodeGenPrepare.cpp
+++ b/
llvm/lib/CodeGen/CodeGenPrepare.cpp
@@
-595,7
+595,7
@@
bool CodeGenPrepare::runOnFunction(Function &F) {
}
// Verify BFI has been updated correctly by recomputing BFI and comparing them.
-void CodeGenPrepare::verifyBFIUpdates(Function &F) {
+void
LLVM_ATTRIBUTE_UNUSED
CodeGenPrepare::verifyBFIUpdates(Function &F) {
DominatorTree NewDT(F);
LoopInfo NewLI(NewDT);
BranchProbabilityInfo NewBPI(F, NewLI, TLInfo);