[all-commits] [llvm/llvm-project] eb8ffd: [flang] AliasAnalysis: Handle fir.load on fir.allo...

Joel E. Denny via All-commits all-commits at lists.llvm.org
Thu Feb 13 09:40:25 PST 2025


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

  Changed paths:
    M flang/lib/Optimizer/Analysis/AliasAnalysis.cpp
    M flang/test/Analysis/AliasAnalysis/alias-analysis-2.fir
    A flang/test/Analysis/AliasAnalysis/load-ptr-alloca.fir

  Log Message:
  -----------
  [flang] AliasAnalysis: Handle fir.load on fir.alloca (#117785)

For example, determine that the address in p below cannot alias the
address of v:

```
subroutine test()
  real, pointer :: p
  real, target :: t
  real :: v
  p => t
  v = p
end subroutine test
```



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