forked from OSchip/llvm-project
[CodeGen] Convert BlockGenerator::generateScalarLoads to isl++. NFC.
llvm-svn: 329654
This commit is contained in:
parent
db6f71e48d
commit
388730c9e0
|
@ -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 =
|
||||
|
|
Loading…
Reference in New Issue