diff options
Diffstat (limited to 'polly/lib')
| -rw-r--r-- | polly/lib/CodeGen/IslNodeBuilder.cpp | 9 | ||||
| -rw-r--r-- | polly/lib/CodeGen/PPCGCodeGeneration.cpp | 5 |
2 files changed, 8 insertions, 6 deletions
diff --git a/polly/lib/CodeGen/IslNodeBuilder.cpp b/polly/lib/CodeGen/IslNodeBuilder.cpp index cf076e5aa09..856a67cb99f 100644 --- a/polly/lib/CodeGen/IslNodeBuilder.cpp +++ b/polly/lib/CodeGen/IslNodeBuilder.cpp @@ -1357,10 +1357,11 @@ Value *IslNodeBuilder::createRTC(isl_ast_expr *Condition) { if (PollyGenerateRTCPrint) { auto *F = Builder.GetInsertBlock()->getParent(); - RuntimeDebugBuilder::createCPUPrinter( - Builder, "F: " + F->getName().str() + " R: " + - S.getRegion().getNameStr() + " __RTC: ", - RTC, " Overflow: ", OverflowHappened); + RuntimeDebugBuilder::createCPUPrinter(Builder, + "F: " + F->getName().str() + " R: " + + S.getRegion().getNameStr() + + " __RTC: ", + RTC, " Overflow: ", OverflowHappened); } RTC = Builder.CreateAnd(RTC, OverflowHappened, "polly.rtc.result"); diff --git a/polly/lib/CodeGen/PPCGCodeGeneration.cpp b/polly/lib/CodeGen/PPCGCodeGeneration.cpp index a2edb715ec2..db62d940d65 100644 --- a/polly/lib/CodeGen/PPCGCodeGeneration.cpp +++ b/polly/lib/CodeGen/PPCGCodeGeneration.cpp @@ -835,8 +835,9 @@ 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) |

