summaryrefslogtreecommitdiffstats
path: root/polly/lib/CodeGen/PPCGCodeGeneration.cpp
diff options
context:
space:
mode:
authorTobias Grosser <tobias@grosser.es>2017-02-01 10:12:09 +0000
committerTobias Grosser <tobias@grosser.es>2017-02-01 10:12:09 +0000
commitff40087a6a2303ebfcf6fc1b8115a18f95073bba (patch)
treefc91abf572921952fdf3e4cf24761e4e33d31287 /polly/lib/CodeGen/PPCGCodeGeneration.cpp
parent13dbaa09e56875965b0396c462048cb7a758cc6f (diff)
downloadbcm5719-llvm-ff40087a6a2303ebfcf6fc1b8115a18f95073bba.tar.gz
bcm5719-llvm-ff40087a6a2303ebfcf6fc1b8115a18f95073bba.zip
Update to recent formatting changes
llvm-svn: 293756
Diffstat (limited to 'polly/lib/CodeGen/PPCGCodeGeneration.cpp')
-rw-r--r--polly/lib/CodeGen/PPCGCodeGeneration.cpp10
1 files changed, 4 insertions, 6 deletions
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)
OpenPOWER on IntegriCloud