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,
FunctionAnalysisManager::Invalidator &) {
// 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>();
return !(PAC.preserved() || PAC.preservedSet<AllAnalysesOn<Function>>() ||
PAC.preservedSet<CFGAnalyses>());