1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-25 12:12:47 +01:00

[ScopedNoAliasAA] Replace !ScopeNodes.size() with ScopeNodes.empty()

No functional change is intended.

llvm-svn: 278645
This commit is contained in:
David Majnemer 2016-08-15 02:23:48 +00:00
parent c243355212
commit 034c8790fa

View File

@ -154,7 +154,7 @@ bool ScopedNoAliasAAResult::mayAliasInScopes(const MDNode *Scopes,
SmallPtrSet<const MDNode *, 16> NANodes, ScopeNodes;
collectMDInDomain(NoAlias, Domain, NANodes);
collectMDInDomain(Scopes, Domain, ScopeNodes);
if (!ScopeNodes.size())
if (ScopeNodes.empty())
continue;
// To not alias, all of the nodes in ScopeNodes must be in NANodes.