[CodeGen] Convert BlockGenerator::generateScalarLoads to isl++. NFC.

llvm-svn: 329654
This commit is contained in:
Michael Kruse 2018-04-10 01:20:47 +00:00
parent db6f71e48d
commit 388730c9e0
1 changed files with 3 additions and 5 deletions

View File

@ -558,12 +558,10 @@ void BlockGenerator::generateScalarLoads(
continue;
#ifndef NDEBUG
auto *StmtDom = Stmt.getDomain().release();
auto *AccDom = isl_map_domain(MA->getAccessRelation().release());
assert(isl_set_is_subset(StmtDom, AccDom) &&
auto StmtDom = Stmt.getDomain();
auto AccDom = MA->getAccessRelation().domain();
assert(!StmtDom.is_subset(AccDom).is_false() &&
"Scalar must be loaded in all statement instances");
isl_set_free(StmtDom);
isl_set_free(AccDom);
#endif
auto *Address =