[polly] e6810ca - [Polly] Fix build after AssumptionCache change (D96168)
Fangrui Song via llvm-commits
llvm-commits at lists.llvm.org
Sat Feb 6 11:56:23 PST 2021
Author: Fangrui Song
Date: 2021-02-06T11:56:15-08:00
New Revision: e6810cab09fcbc87b6e5e4d226de0810e2f2ea38
URL: https://github.com/llvm/llvm-project/commit/e6810cab09fcbc87b6e5e4d226de0810e2f2ea38
DIFF: https://github.com/llvm/llvm-project/commit/e6810cab09fcbc87b6e5e4d226de0810e2f2ea38.diff
LOG: [Polly] Fix build after AssumptionCache change (D96168)
Added:
Modified:
polly/lib/Analysis/ScopBuilder.cpp
Removed:
################################################################################
diff --git a/polly/lib/Analysis/ScopBuilder.cpp b/polly/lib/Analysis/ScopBuilder.cpp
index 96557db1aa4c..af818629ef78 100644
--- 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;
More information about the llvm-commits
mailing list