[polly] r297318 - [DeadCodeElim] Put -polly-dce-precise-steps into the Polly category.
Michael Kruse via llvm-commits
llvm-commits at lists.llvm.org
Wed Mar 8 15:25:36 PST 2017
Author: meinersbur
Date: Wed Mar 8 17:25:35 2017
New Revision: 297318
URL: http://llvm.org/viewvc/llvm-project?rev=297318&view=rev
Log:
[DeadCodeElim] Put -polly-dce-precise-steps into the Polly category.
Modified:
polly/trunk/lib/Transform/DeadCodeElimination.cpp
Modified: polly/trunk/lib/Transform/DeadCodeElimination.cpp
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/lib/Transform/DeadCodeElimination.cpp?rev=297318&r1=297317&r2=297318&view=diff
==============================================================================
--- polly/trunk/lib/Transform/DeadCodeElimination.cpp (original)
+++ polly/trunk/lib/Transform/DeadCodeElimination.cpp Wed Mar 8 17:25:35 2017
@@ -34,6 +34,7 @@
#include "polly/DependenceInfo.h"
#include "polly/LinkAllPasses.h"
+#include "polly/Options.h"
#include "polly/ScopInfo.h"
#include "llvm/Support/CommandLine.h"
#include "isl/flow.h"
@@ -52,7 +53,7 @@ cl::opt<int> DCEPreciseSteps(
cl::desc("The number of precise steps between two approximating "
"iterations. (A value of -1 schedules another approximation stage "
"before the actual dead code elimination."),
- cl::ZeroOrMore, cl::init(-1));
+ cl::ZeroOrMore, cl::init(-1), cl::cat(PollyCategory));
class DeadCodeElim : public ScopPass {
public:
More information about the llvm-commits
mailing list