[all-commits] [llvm/llvm-project] 976641: [flang][NFC] AliasAnalysis: Use Indirect not Unkno...

Joel E. Denny via All-commits all-commits at lists.llvm.org
Fri Feb 21 10:35:04 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 976641062e7750f26ea12eedf22287f9c2250bff
      https://github.com/llvm/llvm-project/commit/976641062e7750f26ea12eedf22287f9c2250bff
  Author: Joel E. Denny <jdenny.ornl at gmail.com>
  Date:   2025-02-21 (Fri, 21 Feb 2025)

  Changed paths:
    M flang/lib/Optimizer/Analysis/AliasAnalysis.cpp

  Log Message:
  -----------
  [flang][NFC] AliasAnalysis: Use Indirect not Unknown for LoadOp (#127845)

As mentioned at
<https://github.com/llvm/llvm-project/pull/126156#discussion_r1953523892>:
PR #126156 causes AliasAnalysis::getSource to sometimes return
SourceKind::Unknown when it used to return SourceKind::Indirect for a
LoadOp. This patch restores that part of the old behavior. It should not
affect user-visible behavior because AliasAnalysis::alias treats
SourceKind::Unknown and SourceKind::Indirect equivalently, but it does
improve debugging output.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list