forked from OSchip/llvm-project
parent
c74fcc9972
commit
aef925e81f
|
@ -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";
|
||||
}
|
||||
|
|
|
@ -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();
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue