[polly] r318795 - Run polly-update-format. NFC.
Michael Kruse via llvm-commits
llvm-commits at lists.llvm.org
Tue Nov 21 11:25:26 PST 2017
Author: meinersbur
Date: Tue Nov 21 11:25:26 2017
New Revision: 318795
URL: http://llvm.org/viewvc/llvm-project?rev=318795&view=rev
Log:
Run polly-update-format. NFC.
polly-check-format has been failing since at least r318517,
due to more than one cause.
Modified:
polly/trunk/lib/CodeGen/BlockGenerators.cpp
polly/trunk/lib/CodeGen/IslAst.cpp
polly/trunk/lib/CodeGen/IslNodeBuilder.cpp
polly/trunk/lib/CodeGen/PPCGCodeGeneration.cpp
polly/trunk/lib/Support/SCEVAffinator.cpp
polly/trunk/lib/Transform/MaximalStaticExpansion.cpp
Modified: polly/trunk/lib/CodeGen/BlockGenerators.cpp
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/lib/CodeGen/BlockGenerators.cpp?rev=318795&r1=318794&r2=318795&view=diff
==============================================================================
--- polly/trunk/lib/CodeGen/BlockGenerators.cpp (original)
+++ polly/trunk/lib/CodeGen/BlockGenerators.cpp Tue Nov 21 11:25:26 2017
@@ -700,7 +700,6 @@ void BlockGenerator::generateScalarStore
Address, Val->getType()->getPointerTo());
Builder.CreateStore(Val, Address);
-
});
}
}
@@ -1597,7 +1596,6 @@ void RegionGenerator::generateScalarStor
std::string Subject = MA->getId().get_name();
generateConditionalExecution(
Stmt, AccDom, Subject.c_str(), [&, this, MA]() {
-
Value *NewVal = getExitScalar(MA, LTS, BBMap);
Value *Address = getImplicitAddress(*MA, getLoopForStmt(Stmt), LTS,
BBMap, NewAccesses);
Modified: polly/trunk/lib/CodeGen/IslAst.cpp
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/lib/CodeGen/IslAst.cpp?rev=318795&r1=318794&r2=318795&view=diff
==============================================================================
--- polly/trunk/lib/CodeGen/IslAst.cpp (original)
+++ polly/trunk/lib/CodeGen/IslAst.cpp Tue Nov 21 11:25:26 2017
@@ -676,7 +676,7 @@ isl_ast_build *IslAstInfo::getBuild(__is
IslAstInfo IslAstAnalysis::run(Scop &S, ScopAnalysisManager &SAM,
ScopStandardAnalysisResults &SAR) {
return {S, SAM.getResult<DependenceAnalysis>(S, SAR).getDependences(
- Dependences::AL_Statement)};
+ Dependences::AL_Statement)};
}
static __isl_give isl_printer *cbPrintUser(__isl_take isl_printer *P,
Modified: polly/trunk/lib/CodeGen/IslNodeBuilder.cpp
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/lib/CodeGen/IslNodeBuilder.cpp?rev=318795&r1=318794&r2=318795&view=diff
==============================================================================
--- polly/trunk/lib/CodeGen/IslNodeBuilder.cpp (original)
+++ polly/trunk/lib/CodeGen/IslNodeBuilder.cpp Tue Nov 21 11:25:26 2017
@@ -1072,7 +1072,7 @@ bool IslNodeBuilder::materializeValue(is
auto MemInst = MemAccInst::dyn_cast(Inst);
auto Address = MemInst ? MemInst.getPointerOperand() : nullptr;
if (Address && SE.getUnknown(UndefValue::get(Address->getType())) ==
- SE.getPointerBase(SE.getSCEV(Address))) {
+ SE.getPointerBase(SE.getSCEV(Address))) {
} else if (S.getStmtFor(Inst)) {
IsDead = false;
} else {
Modified: polly/trunk/lib/CodeGen/PPCGCodeGeneration.cpp
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/lib/CodeGen/PPCGCodeGeneration.cpp?rev=318795&r1=318794&r2=318795&view=diff
==============================================================================
--- polly/trunk/lib/CodeGen/PPCGCodeGeneration.cpp (original)
+++ polly/trunk/lib/CodeGen/PPCGCodeGeneration.cpp Tue Nov 21 11:25:26 2017
@@ -3091,8 +3091,8 @@ public:
PPCGProg->n_array =
ValidSAIs.size(); // std::distance(S->array_begin(), S->array_end());
- PPCGProg->array = isl_calloc_array(S->getIslCtx().get(), struct gpu_array_info,
- PPCGProg->n_array);
+ PPCGProg->array = isl_calloc_array(
+ S->getIslCtx().get(), struct gpu_array_info, PPCGProg->n_array);
createArrays(PPCGProg, ValidSAIs);
Modified: polly/trunk/lib/Support/SCEVAffinator.cpp
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/lib/Support/SCEVAffinator.cpp?rev=318795&r1=318794&r2=318795&view=diff
==============================================================================
--- polly/trunk/lib/Support/SCEVAffinator.cpp (original)
+++ polly/trunk/lib/Support/SCEVAffinator.cpp Tue Nov 21 11:25:26 2017
@@ -122,7 +122,8 @@ void SCEVAffinator::takeNonNegativeAssum
PWAC.second = isl_set_union(PWAC.second, isl_set_copy(NegDom));
auto *Restriction = BB ? NegDom : isl_set_params(NegDom);
auto DL = BB ? BB->getTerminator()->getDebugLoc() : DebugLoc();
- S->recordAssumption(UNSIGNED, isl::manage(Restriction), DL, AS_RESTRICTION, BB);
+ S->recordAssumption(UNSIGNED, isl::manage(Restriction), DL, AS_RESTRICTION,
+ BB);
}
__isl_give PWACtx SCEVAffinator::getPWACtxFromPWA(__isl_take isl_pw_aff *PWA) {
@@ -168,7 +169,8 @@ __isl_give PWACtx SCEVAffinator::checkFo
if (isl_set_is_empty(NotEqualSet))
isl_set_free(NotEqualSet);
else
- S->recordAssumption(WRAPPING, isl::manage(NotEqualSet), Loc, AS_RESTRICTION, BB);
+ S->recordAssumption(WRAPPING, isl::manage(NotEqualSet), Loc, AS_RESTRICTION,
+ BB);
return PWAC;
}
@@ -317,7 +319,8 @@ SCEVAffinator::visitTruncateExpr(const S
OutOfBoundsDom = isl_set_params(OutOfBoundsDom);
}
- S->recordAssumption(UNSIGNED, isl::manage(OutOfBoundsDom), DebugLoc(), AS_RESTRICTION, BB);
+ S->recordAssumption(UNSIGNED, isl::manage(OutOfBoundsDom), DebugLoc(),
+ AS_RESTRICTION, BB);
return OpPWAC;
}
Modified: polly/trunk/lib/Transform/MaximalStaticExpansion.cpp
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/lib/Transform/MaximalStaticExpansion.cpp?rev=318795&r1=318794&r2=318795&view=diff
==============================================================================
--- polly/trunk/lib/Transform/MaximalStaticExpansion.cpp (original)
+++ polly/trunk/lib/Transform/MaximalStaticExpansion.cpp Tue Nov 21 11:25:26 2017
@@ -185,7 +185,6 @@ isl::union_map MaximalStaticExpander::fi
Dependences.foreach_map([&MapDependences, &AccessDomainId,
&SAI](isl::map Map) -> isl::stat {
-
// Filter out Statement to Statement dependences.
if (!Map.can_curry())
return isl::stat::ok;
More information about the llvm-commits
mailing list