diff options
| author | Tobias Grosser <tobias@grosser.es> | 2017-02-01 10:12:09 +0000 |
|---|---|---|
| committer | Tobias Grosser <tobias@grosser.es> | 2017-02-01 10:12:09 +0000 |
| commit | ff40087a6a2303ebfcf6fc1b8115a18f95073bba (patch) | |
| tree | fc91abf572921952fdf3e4cf24761e4e33d31287 /polly/lib/CodeGen | |
| parent | 13dbaa09e56875965b0396c462048cb7a758cc6f (diff) | |
| download | bcm5719-llvm-ff40087a6a2303ebfcf6fc1b8115a18f95073bba.tar.gz bcm5719-llvm-ff40087a6a2303ebfcf6fc1b8115a18f95073bba.zip | |
Update to recent formatting changes
llvm-svn: 293756
Diffstat (limited to 'polly/lib/CodeGen')
| -rw-r--r-- | polly/lib/CodeGen/IslNodeBuilder.cpp | 10 | ||||
| -rw-r--r-- | polly/lib/CodeGen/PPCGCodeGeneration.cpp | 10 |
2 files changed, 8 insertions, 12 deletions
diff --git a/polly/lib/CodeGen/IslNodeBuilder.cpp b/polly/lib/CodeGen/IslNodeBuilder.cpp index dedf5574e2c..5ec6ab96394 100644 --- a/polly/lib/CodeGen/IslNodeBuilder.cpp +++ b/polly/lib/CodeGen/IslNodeBuilder.cpp @@ -458,9 +458,8 @@ void IslNodeBuilder::createForSequential(__isl_take isl_ast_node *For, CmpInst::Predicate Predicate; bool Parallel; - Parallel = - KnownParallel || - (IslAstInfo::isParallel(For) && !IslAstInfo::isReductionParallel(For)); + Parallel = KnownParallel || (IslAstInfo::isParallel(For) && + !IslAstInfo::isReductionParallel(For)); Body = isl_ast_node_for_get_body(For); @@ -933,9 +932,8 @@ bool IslNodeBuilder::materializeValue(isl_id *Id) { // there is a statement or the domain is not empty Inst is not dead. 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))) { + if (Address && SE.getUnknown(UndefValue::get(Address->getType())) == + 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 462b825dfb3..28cefd3c7a8 100644 --- a/polly/lib/CodeGen/PPCGCodeGeneration.cpp +++ b/polly/lib/CodeGen/PPCGCodeGeneration.cpp @@ -603,9 +603,8 @@ void GPUNodeBuilder::createCallLaunchKernel(Value *GPUKernel, Value *GridDimX, F = Function::Create(Ty, Linkage, Name, M); } - Builder.CreateCall(F, - {GPUKernel, GridDimX, GridDimY, BlockDimX, BlockDimY, - BlockDimZ, Parameters}); + Builder.CreateCall(F, {GPUKernel, GridDimX, GridDimY, BlockDimX, BlockDimY, + BlockDimZ, Parameters}); } void GPUNodeBuilder::createCallFreeKernel(Value *GPUKernel) { @@ -836,9 +835,8 @@ void GPUNodeBuilder::createDataTransfer(__isl_take isl_ast_node *TransferStmt, if (Offset) { Size = Builder.CreateSub( - Size, - Builder.CreateMul(Offset, - Builder.getInt64(ScopArray->getElemSizeInBytes()))); + Size, Builder.CreateMul( + Offset, Builder.getInt64(ScopArray->getElemSizeInBytes()))); } if (Direction == HOST_TO_DEVICE) |

