projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[C++11] Remove a leftover std::function instance.
[oota-llvm.git]
/
lib
/
Transforms
/
Scalar
/
CorrelatedValuePropagation.cpp
diff --git
a/lib/Transforms/Scalar/CorrelatedValuePropagation.cpp
b/lib/Transforms/Scalar/CorrelatedValuePropagation.cpp
index 995782e1bc6b72bb7ad5d08c15583bf8ee92747f..7615e8f17b6ce8405130121320b405e478df25d0 100644
(file)
--- a/
lib/Transforms/Scalar/CorrelatedValuePropagation.cpp
+++ b/
lib/Transforms/Scalar/CorrelatedValuePropagation.cpp
@@
-281,6
+281,9
@@
bool CorrelatedValuePropagation::processSwitch(SwitchInst *SI) {
}
bool CorrelatedValuePropagation::runOnFunction(Function &F) {
+ if (skipOptnoneFunction(F))
+ return false;
+
LVI = &getAnalysis<LazyValueInfo>();
bool FnChanged = false;