[all-commits] [llvm/llvm-project] cfe8ae: [flang] TBAA for memory accesses of derived type v...

Slava Zakharin via All-commits all-commits at lists.llvm.org
Tue Oct 3 13:10:19 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: cfe8ae3805de5150141a03b55589b7bc9a91236b
      https://github.com/llvm/llvm-project/commit/cfe8ae3805de5150141a03b55589b7bc9a91236b
  Author: Slava Zakharin <szakharin at nvidia.com>
  Date:   2023-10-03 (Tue, 03 Oct 2023)

  Changed paths:
    M flang/include/flang/Optimizer/CodeGen/TBAABuilder.h
    M flang/include/flang/Optimizer/Dialect/FIRType.h
    M flang/lib/Optimizer/CodeGen/TBAABuilder.cpp
    M flang/lib/Optimizer/Dialect/FIRType.cpp
    M flang/test/Fir/tbaa.fir

  Log Message:
  -----------
  [flang] TBAA for memory accesses of derived type values. (#68047)

Since HLFIR bufferization can introduce shallow copies of derived
type values we have to be careful not to treat these load/store
operations as data-only-accesses. If a derived type has descriptor
members, we attach any-access tag now.




More information about the All-commits mailing list