Skip to content

Commit

Permalink
[ScopBuilder] Fix typo. NFC.
Browse files Browse the repository at this point in the history
Contributed-by: Nandini Singhal <cs15mtech01004@iith.ac.in>

Differential Revision: https://reviews.llvm.org/D41047

llvm-svn: 320336
  • Loading branch information
Meinersbur committed Dec 10, 2017
1 parent d752d6b commit 188b437
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions polly/lib/Analysis/ScopBuilder.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -103,16 +103,16 @@ static cl::opt<bool> DisableMultiplicativeReductions(
cl::desc("Disable multiplicative reductions"), cl::Hidden, cl::ZeroOrMore,
cl::init(false), cl::cat(PollyCategory));

enum class GranularityChoice { BasicBlocks, ScalarIndepependence };
enum class GranularityChoice { BasicBlocks, ScalarIndependence };

static cl::opt<GranularityChoice> StmtGranularity(
"polly-stmt-granularity",
cl::desc(
"Algorithm to use for splitting basic blocks into multiple statements"),
cl::values(clEnumValN(GranularityChoice::BasicBlocks, "bb",
"One statement per basic block"),
clEnumValN(GranularityChoice::ScalarIndepependence,
"scalar-indep", "Scalar independence heuristic")),
clEnumValN(GranularityChoice::ScalarIndependence, "scalar-indep",
"Scalar independence heuristic")),
cl::init(GranularityChoice::BasicBlocks), cl::cat(PollyCategory));

void ScopBuilder::buildPHIAccesses(ScopStmt *PHIStmt, PHINode *PHI,
Expand Down Expand Up @@ -897,7 +897,7 @@ void ScopBuilder::buildStmts(Region &SR) {
case GranularityChoice::BasicBlocks:
buildSequentialBlockStmts(BB);
break;
case GranularityChoice::ScalarIndepependence:
case GranularityChoice::ScalarIndependence:
buildEqivClassBlockStmts(BB);
break;
}
Expand Down

0 comments on commit 188b437

Please sign in to comment.