[polly] r219275 - [Fix] Ignore forwarding alias sets in the alias set tracker.
Johannes Doerfert
doerfert at cs.uni-saarland.de
Tue Oct 7 19:23:48 PDT 2014
Author: jdoerfert
Date: Tue Oct 7 21:23:48 2014
New Revision: 219275
URL: http://llvm.org/viewvc/llvm-project?rev=219275&view=rev
Log:
[Fix] Ignore forwarding alias sets in the alias set tracker.
Modified:
polly/trunk/lib/Analysis/ScopInfo.cpp
Modified: polly/trunk/lib/Analysis/ScopInfo.cpp
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/lib/Analysis/ScopInfo.cpp?rev=219275&r1=219274&r2=219275&view=diff
==============================================================================
--- polly/trunk/lib/Analysis/ScopInfo.cpp (original)
+++ polly/trunk/lib/Analysis/ScopInfo.cpp Tue Oct 7 21:23:48 2014
@@ -1294,7 +1294,7 @@ bool Scop::buildAliasGroups(AliasAnalysi
SmallVector<AliasGroupTy, 4> AliasGroups;
for (AliasSet &AS : AST) {
- if (AS.isMustAlias())
+ if (AS.isMustAlias() || AS.isForwardingAliasSet())
continue;
AliasGroupTy AG;
for (auto PR : AS)
More information about the llvm-commits
mailing list