[llvm] eaab880 - [Attributor][Fix] Add overrides for AA2HS analysis
Giorgis Georgakoudis via llvm-commits
llvm-commits at lists.llvm.org
Thu Jul 22 18:22:04 PDT 2021
Author: Giorgis Georgakoudis
Date: 2021-07-22T18:20:14-07:00
New Revision: eaab880e45860192e5e52dba7f694f639f4dbcb7
URL: https://github.com/llvm/llvm-project/commit/eaab880e45860192e5e52dba7f694f639f4dbcb7
DIFF: https://github.com/llvm/llvm-project/commit/eaab880e45860192e5e52dba7f694f639f4dbcb7.diff
LOG: [Attributor][Fix] Add overrides for AA2HS analysis
Added:
Modified:
llvm/lib/Transforms/IPO/OpenMPOpt.cpp
Removed:
################################################################################
diff --git a/llvm/lib/Transforms/IPO/OpenMPOpt.cpp b/llvm/lib/Transforms/IPO/OpenMPOpt.cpp
index 3d9bbaccae1d..6c4f410b3871 100644
--- a/llvm/lib/Transforms/IPO/OpenMPOpt.cpp
+++ b/llvm/lib/Transforms/IPO/OpenMPOpt.cpp
@@ -2585,11 +2585,11 @@ struct AAHeapToSharedFunction : public AAHeapToShared {
findPotentialRemovedFreeCalls(A);
}
- bool isAssumedHeapToShared(CallBase &CB) const {
+ bool isAssumedHeapToShared(CallBase &CB) const override {
return isValidState() && MallocCalls.count(&CB);
}
- bool isAssumedHeapToSharedRemovedFree(CallBase &CB) const {
+ bool isAssumedHeapToSharedRemovedFree(CallBase &CB) const override {
return isValidState() && PotentialRemovedFreeCalls.count(&CB);
}
More information about the llvm-commits
mailing list