summaryrefslogtreecommitdiffstats
path: root/polly/lib/CodeGen
diff options
context:
space:
mode:
authorMichael Kruse <llvm@meinersbur.de>2017-11-21 19:25:26 +0000
committerMichael Kruse <llvm@meinersbur.de>2017-11-21 19:25:26 +0000
commit58166b13e093a8f4eda9ee6bd36e733bd133b62f (patch)
tree7e29bde54fc6bf47e537abdbb742e2a8f9b48f5d /polly/lib/CodeGen
parent5f8980a995ce8a09c0f7b953063c30f32d28281e (diff)
downloadbcm5719-llvm-58166b13e093a8f4eda9ee6bd36e733bd133b62f.tar.gz
bcm5719-llvm-58166b13e093a8f4eda9ee6bd36e733bd133b62f.zip
Run polly-update-format. NFC.
polly-check-format has been failing since at least r318517, due to more than one cause. llvm-svn: 318795
Diffstat (limited to 'polly/lib/CodeGen')
-rw-r--r--polly/lib/CodeGen/BlockGenerators.cpp2
-rw-r--r--polly/lib/CodeGen/IslAst.cpp2
-rw-r--r--polly/lib/CodeGen/IslNodeBuilder.cpp2
-rw-r--r--polly/lib/CodeGen/PPCGCodeGeneration.cpp4
4 files changed, 4 insertions, 6 deletions
diff --git a/polly/lib/CodeGen/BlockGenerators.cpp b/polly/lib/CodeGen/BlockGenerators.cpp
index 53b6f500997..29c29fff3a5 100644
--- a/polly/lib/CodeGen/BlockGenerators.cpp
+++ b/polly/lib/CodeGen/BlockGenerators.cpp
@@ -700,7 +700,6 @@ void BlockGenerator::generateScalarStores(
Address, Val->getType()->getPointerTo());
Builder.CreateStore(Val, Address);
-
});
}
}
@@ -1597,7 +1596,6 @@ void RegionGenerator::generateScalarStores(
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);
diff --git a/polly/lib/CodeGen/IslAst.cpp b/polly/lib/CodeGen/IslAst.cpp
index 4e1623ad7e5..dddfbab412b 100644
--- a/polly/lib/CodeGen/IslAst.cpp
+++ b/polly/lib/CodeGen/IslAst.cpp
@@ -676,7 +676,7 @@ isl_ast_build *IslAstInfo::getBuild(__isl_keep isl_ast_node *Node) {
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,
diff --git a/polly/lib/CodeGen/IslNodeBuilder.cpp b/polly/lib/CodeGen/IslNodeBuilder.cpp
index cd4f8d6605a..c058bb0113a 100644
--- a/polly/lib/CodeGen/IslNodeBuilder.cpp
+++ b/polly/lib/CodeGen/IslNodeBuilder.cpp
@@ -1072,7 +1072,7 @@ bool IslNodeBuilder::materializeValue(isl_id *Id) {
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 {
diff --git a/polly/lib/CodeGen/PPCGCodeGeneration.cpp b/polly/lib/CodeGen/PPCGCodeGeneration.cpp
index c6c8db8a911..d6652146483 100644
--- a/polly/lib/CodeGen/PPCGCodeGeneration.cpp
+++ b/polly/lib/CodeGen/PPCGCodeGeneration.cpp
@@ -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);
OpenPOWER on IntegriCloud