[all-commits] [llvm/llvm-project] cf16c9: [Flang] Turn on alias analysis for locally allocat...

Dominik Adamski via All-commits all-commits at lists.llvm.org
Wed May 14 00:21:40 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: cf16c97bfa1416672d8990862369e86f360aa11e
      https://github.com/llvm/llvm-project/commit/cf16c97bfa1416672d8990862369e86f360aa11e
  Author: Dominik Adamski <dominik.adamski at amd.com>
  Date:   2025-05-14 (Wed, 14 May 2025)

  Changed paths:
    M flang/lib/Optimizer/Transforms/AddAliasTags.cpp
    M flang/test/Fir/tbaa-codegen2.fir
    M flang/test/Transforms/tbaa-with-dummy-scope2.fir
    M flang/test/Transforms/tbaa2.fir
    M flang/test/Transforms/tbaa3.fir

  Log Message:
  -----------
  [Flang] Turn on alias analysis for locally allocated objects (#139682)

Previously, a bug in the MemCptOpt LLVM IR pass caused issues with
adding alias tags for locally allocated objects for Fortran code.

However, the bug has now been fixed (
https://github.com/llvm/llvm-project/pull/129537 ), and we can safely
enable alias tags for these objects. This change should improve the
accuracy of the alias analysis.



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