[flang-commits] [flang] [flang] AliasAnalysis: Fix pointer component logic (PR #94242)
Joel E. Denny via flang-commits
flang-commits at lists.llvm.org
Wed Jun 19 12:52:41 PDT 2024
================
@@ -60,7 +60,15 @@ void AliasAnalysis::Source::print(llvm::raw_ostream &os) const {
attributes.Dump(os, EnumToString);
}
-bool AliasAnalysis::Source::isPointerReference(mlir::Type ty) {
+bool AliasAnalysis::isRecordWithPointerComponent(mlir::Type ty) {
+ auto eleTy = fir::dyn_cast_ptrEleTy(ty);
----------------
jdenny-ornl wrote:
Thanks for pointing that out. After some of the other issues settle, I'll think about applying that, perhaps in another PR.
https://github.com/llvm/llvm-project/pull/94242
More information about the flang-commits
mailing list