diff options
author | Tobias Grosser <grosser@fim.uni-passau.de> | 2013-07-13 16:58:07 +0000 |
---|---|---|
committer | Tobias Grosser <grosser@fim.uni-passau.de> | 2013-07-13 16:58:07 +0000 |
commit | aef925e81f792eb5f9bac1b6579d814963a7d1a6 (patch) | |
tree | b356c5370053bc726c2621e4cfe3f1d369cc1cca | |
parent | c74fcc9972bf3a71d23c3ec80caa38aebf23055c (diff) | |
download | bcm5719-llvm-aef925e81f792eb5f9bac1b6579d814963a7d1a6.tar.gz bcm5719-llvm-aef925e81f792eb5f9bac1b6579d814963a7d1a6.zip |
Small style improvements
llvm-svn: 186248
-rw-r--r-- | polly/lib/Analysis/ScopGraphPrinter.cpp | 5 | ||||
-rw-r--r-- | polly/lib/Exchange/JSONExporter.cpp | 4 | ||||
-rw-r--r-- | polly/lib/IndVarSimplify.cpp | 3 |
3 files changed, 6 insertions, 6 deletions
diff --git a/polly/lib/Analysis/ScopGraphPrinter.cpp b/polly/lib/Analysis/ScopGraphPrinter.cpp index 6f7668589ca..ab87d2678b2 100644 --- a/polly/lib/Analysis/ScopGraphPrinter.cpp +++ b/polly/lib/Analysis/ScopGraphPrinter.cpp @@ -149,8 +149,9 @@ struct DOTGraphTraits<ScopDetection *> : public DOTGraphTraits<RegionNode *> { BI != BE; ++BI) if (RI->getRegionFor(*BI) == R) O.indent(2 * (depth + 1)) - << "Node" << static_cast<const void *>( - RI->getTopLevelRegion()->getBBNode(*BI)) << ";\n"; + << "Node" + << static_cast<void *>(RI->getTopLevelRegion()->getBBNode(*BI)) + << ";\n"; O.indent(2 * depth) << "}\n"; } diff --git a/polly/lib/Exchange/JSONExporter.cpp b/polly/lib/Exchange/JSONExporter.cpp index a2664e2db31..f0488a0f218 100644 --- a/polly/lib/Exchange/JSONExporter.cpp +++ b/polly/lib/Exchange/JSONExporter.cpp @@ -262,8 +262,8 @@ bool JSONImporter::runOnScop(Scop &scop) { for (ScopStmt::memacc_iterator MI = Stmt->memacc_begin(), ME = Stmt->memacc_end(); MI != ME; ++MI) { - Json::Value accesses = jscop["statements"][statementIdx]["accesses"][ - memoryAccessIdx]["relation"]; + Json::Value accesses = jscop["statements"][statementIdx]["accesses"] + [memoryAccessIdx]["relation"]; isl_map *newAccessMap = isl_map_read_from_str(S->getIslCtx(), accesses.asCString()); isl_map *currentAccessMap = (*MI)->getAccessRelation(); diff --git a/polly/lib/IndVarSimplify.cpp b/polly/lib/IndVarSimplify.cpp index c9866eeff44..6cec03f924f 100644 --- a/polly/lib/IndVarSimplify.cpp +++ b/polly/lib/IndVarSimplify.cpp @@ -218,8 +218,7 @@ static bool ConvertToSInt(const APFloat &APF, int64_t &IntVal) { // See if we can convert this to an int64_t uint64_t UIntVal; if (APF.convertToInteger(&UIntVal, 64, true, APFloat::rmTowardZero, - &isExact) != - APFloat::opOK || + &isExact) != APFloat::opOK || !isExact) return false; IntVal = UIntVal; |