projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fd5c856
)
[ScopInfo] Move addNonEmptyDomainConstraints to isl++ [NFCI]
author
Tobias Grosser
<tobias@grosser.es>
Mon, 18 Jun 2018 12:41:58 +0000
(12:41 +0000)
committer
Tobias Grosser
<tobias@grosser.es>
Mon, 18 Jun 2018 12:41:58 +0000
(12:41 +0000)
llvm-svn: 334938
polly/lib/Analysis/ScopInfo.cpp
patch
|
blob
|
history
diff --git
a/polly/lib/Analysis/ScopInfo.cpp
b/polly/lib/Analysis/ScopInfo.cpp
index
b3625bf
..
7843a07
100644
(file)
--- a/
polly/lib/Analysis/ScopInfo.cpp
+++ b/
polly/lib/Analysis/ScopInfo.cpp
@@
-2025,8
+2025,8
@@
isl::id Scop::getIdForParam(const SCEV *Parameter) const {
}
isl::set Scop::addNonEmptyDomainConstraints(isl::set C) const {
- isl
_set *DomainContext = isl_union_set_params(getDomains().release()
);
- return
isl::manage(isl_set_intersect_params(C.release(), DomainContext)
);
+ isl
::set DomainContext = getDomains().params(
);
+ return
C.intersect_params(DomainContext
);
}
bool Scop::isDominatedBy(const DominatorTree &DT, BasicBlock *BB) const {