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:
3bd02ec
)
[LoopPredication] Remove unused variable
author
Anna Thomas
<anna@azul.com>
Thu, 30 Sep 2021 14:37:18 +0000
(10:37 -0400)
committer
Anna Thomas
<anna@azul.com>
Thu, 30 Sep 2021 14:40:47 +0000
(10:40 -0400)
After rG452714f8f8037ff37f9358317651d1652e231db2, the Function `F` retrieved in LoopPredication is not used.
Remove this unused variable to stop some buildbots (ASAN, clang-ppc) from failing.
llvm/lib/Transforms/Scalar/LoopPredication.cpp
patch
|
blob
|
history
diff --git
a/llvm/lib/Transforms/Scalar/LoopPredication.cpp
b/llvm/lib/Transforms/Scalar/LoopPredication.cpp
index
4eeb295
..
d8ddcd6
100644
(file)
--- a/
llvm/lib/Transforms/Scalar/LoopPredication.cpp
+++ b/
llvm/lib/Transforms/Scalar/LoopPredication.cpp
@@
-366,7
+366,6
@@
Pass *llvm::createLoopPredicationPass() {
PreservedAnalyses LoopPredicationPass::run(Loop &L, LoopAnalysisManager &AM,
LoopStandardAnalysisResults &AR,
LPMUpdater &U) {
- Function *F = L.getHeader()->getParent();
std::unique_ptr<MemorySSAUpdater> MSSAU;
if (AR.MSSA)
MSSAU = std::make_unique<MemorySSAUpdater>(AR.MSSA);