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:
4b4c722
)
[PM] Function-level TLI is also immutable.
author
Sean Silva
<chisophugis@gmail.com>
Mon, 8 Aug 2016 05:37:58 +0000
(
05:37
+0000)
committer
Sean Silva
<chisophugis@gmail.com>
Mon, 8 Aug 2016 05:37:58 +0000
(
05:37
+0000)
llvm-svn: 277979
llvm/include/llvm/Analysis/TargetLibraryInfo.h
patch
|
blob
|
history
diff --git
a/llvm/include/llvm/Analysis/TargetLibraryInfo.h
b/llvm/include/llvm/Analysis/TargetLibraryInfo.h
index
2cbf6f7
..
deed2d0
100644
(file)
--- a/
llvm/include/llvm/Analysis/TargetLibraryInfo.h
+++ b/
llvm/include/llvm/Analysis/TargetLibraryInfo.h
@@
-273,6
+273,7
@@
public:
/// If we try to invalidate this info, just return false. It cannot become
/// invalid even if the module changes.
bool invalidate(Module &, const PreservedAnalyses &) { return false; }
+ bool invalidate(Function &, const PreservedAnalyses &) { return false; }
};
/// Analysis pass providing the \c TargetLibraryInfo.