[llvm] r277979 - [PM] Function-level TLI is also immutable.
Sean Silva via llvm-commits
llvm-commits at lists.llvm.org
Sun Aug 7 22:37:59 PDT 2016
Author: silvas
Date: Mon Aug 8 00:37:58 2016
New Revision: 277979
URL: http://llvm.org/viewvc/llvm-project?rev=277979&view=rev
Log:
[PM] Function-level TLI is also immutable.
Modified:
llvm/trunk/include/llvm/Analysis/TargetLibraryInfo.h
Modified: llvm/trunk/include/llvm/Analysis/TargetLibraryInfo.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Analysis/TargetLibraryInfo.h?rev=277979&r1=277978&r2=277979&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Analysis/TargetLibraryInfo.h (original)
+++ llvm/trunk/include/llvm/Analysis/TargetLibraryInfo.h Mon Aug 8 00:37:58 2016
@@ -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.
More information about the llvm-commits
mailing list