[polly] r213795 - [Fix] Typo during refactoring
Johannes Doerfert
jdoerfert at codeaurora.org
Wed Jul 23 13:26:25 PDT 2014
Author: jdoerfert
Date: Wed Jul 23 15:26:25 2014
New Revision: 213795
URL: http://llvm.org/viewvc/llvm-project?rev=213795&view=rev
Log:
[Fix] Typo during refactoring
Modified:
polly/trunk/lib/CodeGen/IslCodeGeneration.cpp
Modified: polly/trunk/lib/CodeGen/IslCodeGeneration.cpp
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/lib/CodeGen/IslCodeGeneration.cpp?rev=213795&r1=213794&r2=213795&view=diff
==============================================================================
--- polly/trunk/lib/CodeGen/IslCodeGeneration.cpp (original)
+++ polly/trunk/lib/CodeGen/IslCodeGeneration.cpp Wed Jul 23 15:26:25 2014
@@ -778,7 +778,7 @@ IslNodeBuilder::getUpperBound(__isl_keep
}
unsigned IslNodeBuilder::getNumberOfIterations(__isl_keep isl_ast_node *For) {
- isl_union_map *Schedule = IslAstInfo::getSchedule(Build);
+ isl_union_map *Schedule = IslAstInfo::getSchedule(For);
isl_set *LoopDomain = isl_set_from_union_set(isl_union_map_range(Schedule));
int NumberOfIterations = polly::getNumberOfIterations(LoopDomain);
if (NumberOfIterations == -1)
@@ -836,7 +836,7 @@ void IslNodeBuilder::createForVector(__i
for (int i = 1; i < VectorWidth; i++)
IVS[i] = Builder.CreateAdd(IVS[i - 1], ValueInc, "p_vector_iv");
- isl_union_map *Schedule = IslAstInfo::getSchedule(Build);
+ isl_union_map *Schedule = IslAstInfo::getSchedule(For);
assert(Schedule && "For statement annotation does not contain its schedule");
IDToValue[IteratorID] = ValueLB;
More information about the llvm-commits
mailing list