1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2025-01-31 20:51:52 +01:00

Test commit, fix a minor typo.

llvm-svn: 337657
This commit is contained in:
Jiading Gai 2018-07-22 20:04:42 +00:00
parent bebd8957ec
commit f36038e8c8

View File

@ -81,7 +81,7 @@ RegionInfo::~RegionInfo() = default;
bool RegionInfo::invalidate(Function &F, const PreservedAnalyses &PA, bool RegionInfo::invalidate(Function &F, const PreservedAnalyses &PA,
FunctionAnalysisManager::Invalidator &) { FunctionAnalysisManager::Invalidator &) {
// Check whether the analysis, all analyses on functions, or the function's // Check whether the analysis, all analyses on functions, or the function's
// CFG have been preserved. // CFG has been preserved.
auto PAC = PA.getChecker<RegionInfoAnalysis>(); auto PAC = PA.getChecker<RegionInfoAnalysis>();
return !(PAC.preserved() || PAC.preservedSet<AllAnalysesOn<Function>>() || return !(PAC.preserved() || PAC.preservedSet<AllAnalysesOn<Function>>() ||
PAC.preservedSet<CFGAnalyses>()); PAC.preservedSet<CFGAnalyses>());