Skip to content

Commit e6810ca

Browse files
committed
[Polly] Fix build after AssumptionCache change (D96168)
1 parent 3cc3762 commit e6810ca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

polly/lib/Analysis/ScopBuilder.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1527,7 +1527,7 @@ void ScopBuilder::addRecordedAssumptions() {
15271527
void ScopBuilder::addUserAssumptions(
15281528
AssumptionCache &AC, DenseMap<BasicBlock *, isl::set> &InvalidDomainMap) {
15291529
for (auto &Assumption : AC.assumptions()) {
1530-
auto *CI = dyn_cast_or_null<CallInst>(Assumption);
1530+
auto *CI = dyn_cast_or_null<CallInst>(Assumption.getAssumeCI());
15311531
if (!CI || CI->getNumArgOperands() != 1)
15321532
continue;
15331533

0 commit comments

Comments
 (0)