[polly] r329654 - [CodeGen] Convert BlockGenerator::generateScalarLoads to isl++. NFC.
Michael Kruse via llvm-commits
llvm-commits at lists.llvm.org
Mon Apr 9 18:20:47 PDT 2018
Author: meinersbur
Date: Mon Apr 9 18:20:47 2018
New Revision: 329654
URL: http://llvm.org/viewvc/llvm-project?rev=329654&view=rev
Log:
[CodeGen] Convert BlockGenerator::generateScalarLoads to isl++. NFC.
Modified:
polly/trunk/lib/CodeGen/BlockGenerators.cpp
Modified: polly/trunk/lib/CodeGen/BlockGenerators.cpp
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/lib/CodeGen/BlockGenerators.cpp?rev=329654&r1=329653&r2=329654&view=diff
==============================================================================
--- polly/trunk/lib/CodeGen/BlockGenerators.cpp (original)
+++ polly/trunk/lib/CodeGen/BlockGenerators.cpp Mon Apr 9 18:20:47 2018
@@ -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 =
More information about the llvm-commits
mailing list