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:
3cc3762
)
[Polly] Fix build after AssumptionCache change (D96168)
author
Fangrui Song
<i@maskray.me>
Sat, 6 Feb 2021 19:56:15 +0000
(11:56 -0800)
committer
Fangrui Song
<i@maskray.me>
Sat, 6 Feb 2021 19:56:15 +0000
(11:56 -0800)
polly/lib/Analysis/ScopBuilder.cpp
patch
|
blob
|
history
diff --git
a/polly/lib/Analysis/ScopBuilder.cpp
b/polly/lib/Analysis/ScopBuilder.cpp
index
96557db
..
af81862
100644
(file)
--- a/
polly/lib/Analysis/ScopBuilder.cpp
+++ b/
polly/lib/Analysis/ScopBuilder.cpp
@@
-1527,7
+1527,7
@@
void ScopBuilder::addRecordedAssumptions() {
void ScopBuilder::addUserAssumptions(
AssumptionCache &AC, DenseMap<BasicBlock *, isl::set> &InvalidDomainMap) {
for (auto &Assumption : AC.assumptions()) {
- auto *CI = dyn_cast_or_null<CallInst>(Assumption);
+ auto *CI = dyn_cast_or_null<CallInst>(Assumption
.getAssumeCI()
);
if (!CI || CI->getNumArgOperands() != 1)
continue;