diff options
author | Tobias Grosser <tobias@grosser.es> | 2015-04-27 13:43:10 +0300 |
---|---|---|
committer | Tobias Grosser <tobias@grosser.es> | 2015-04-27 13:43:10 +0300 |
commit | 6325cd2fcdd72678e6b856d55e9fadcb9fa61feb (patch) | |
tree | 01924eb7646f97aa472ea819edd3349a3a0d2847 /polly/lib | |
parent | b68068bf629441dab1521d5492bf1a7fc18fc721 (diff) |
Remove flag '-polly-annotate-alias-scopes'
This option is enabled since a long time and there does not seem to be a
situation in which we would not want to print alias scopes. Remove this option
to reduce the set of command-line option combinations that may expose bugs.
llvm-svn: 235861
Diffstat (limited to 'polly/lib')
-rw-r--r-- | polly/lib/CodeGen/IslCodeGeneration.cpp | 4 | ||||
-rw-r--r-- | polly/lib/Support/RegisterPasses.cpp | 7 |
2 files changed, 1 insertions, 10 deletions
diff --git a/polly/lib/CodeGen/IslCodeGeneration.cpp b/polly/lib/CodeGen/IslCodeGeneration.cpp index 749c07774e1f..7cf5b263667c 100644 --- a/polly/lib/CodeGen/IslCodeGeneration.cpp +++ b/polly/lib/CodeGen/IslCodeGeneration.cpp @@ -1007,9 +1007,7 @@ public: assert(!S.getRegion().isTopLevelRegion() && "Top level regions are not supported"); - // Build the alias scopes for annotations first. - if (PollyAnnotateAliasScopes) - Annotator.buildAliasScopes(S); + Annotator.buildAliasScopes(S); BasicBlock *EnteringBB = simplifyRegion(&S, this); PollyIRBuilder Builder = createPollyIRBuilder(EnteringBB, Annotator); diff --git a/polly/lib/Support/RegisterPasses.cpp b/polly/lib/Support/RegisterPasses.cpp index 95f4bc3c7747..b3ffdb143aa9 100644 --- a/polly/lib/Support/RegisterPasses.cpp +++ b/polly/lib/Support/RegisterPasses.cpp @@ -124,13 +124,6 @@ static cl::opt<bool> cl::desc("Show the Polly CFG right after code generation"), cl::Hidden, cl::init(false), cl::cat(PollyCategory)); -bool polly::PollyAnnotateAliasScopes; -static cl::opt<bool, true> XPollyAnnotateAliasScopes( - "polly-annotate-alias-scopes", - cl::desc("Annotate memory instructions with alias scopes"), - cl::location(PollyAnnotateAliasScopes), cl::init(true), cl::ZeroOrMore, - cl::cat(PollyCategory)); - namespace polly { void initializePollyPasses(PassRegistry &Registry) { initializeIslCodeGenerationPass(Registry); |