[all-commits] [llvm/llvm-project] 102f76: [Flang][AliasAnalysis] Alias analysis for tmp arra...

Dominik Adamski via All-commits all-commits at lists.llvm.org
Mon Oct 14 00:25:37 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 102f76b2d7c8609755f4453c5f91f7fe12e2c0c6
      https://github.com/llvm/llvm-project/commit/102f76b2d7c8609755f4453c5f91f7fe12e2c0c6
  Author: Dominik Adamski <dominik.adamski at amd.com>
  Date:   2024-10-14 (Mon, 14 Oct 2024)

  Changed paths:
    M flang/lib/Optimizer/Analysis/AliasAnalysis.cpp
    A flang/test/Analysis/AliasAnalysis/alias-analysis-9.fir

  Log Message:
  -----------
  [Flang][AliasAnalysis] Alias analysis for tmp arrays (#111972)

This patch extends the alias analysis for temporary arrays in Flang.
With this extension, Flang can now determine that the temporary array
[a, b, c] does not alias with arrayD in Fortran code:
```
  integer :: a, b, c
  integer :: arrayD(3)
  arrayD = [ a, b, c ]
```



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