[flang-commits] [flang] [flang] AliasAnalysis: More formally define and distinguish between data and non-data (PR #91020)
Joel E. Denny via flang-commits
flang-commits at lists.llvm.org
Fri May 10 16:08:41 PDT 2024
================
@@ -54,8 +50,16 @@ struct AliasAnalysis {
using SourceUnion = llvm::PointerUnion<mlir::SymbolRefAttr, mlir::Value>;
using Attributes = Fortran::common::EnumSet<Attribute, Attribute_enumSize>;
- /// Source definition of a value.
- SourceUnion u;
+ struct SourceOrigin {
+ /// Source definition of a value.
+ SourceUnion u;
+
+ /// Whether the source was reached following data or box reference
----------------
jdenny-ornl wrote:
Thanks for the nice explanation.
https://github.com/llvm/llvm-project/pull/91020
More information about the flang-commits
mailing list