[all-commits] [llvm/llvm-project] 345f86: [flang][HLFIR] allow hlfir.get_length with hlfir.a...

Tom Eccles via All-commits all-commits at lists.llvm.org
Wed Jul 12 10:08:40 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 345f8699c7ce8e492899147a7f0519769af7ec35
      https://github.com/llvm/llvm-project/commit/345f8699c7ce8e492899147a7f0519769af7ec35
  Author: Tom Eccles <tom.eccles at arm.com>
  Date:   2023-07-12 (Wed, 12 Jul 2023)

  Changed paths:
    M flang/lib/Optimizer/HLFIR/Transforms/BufferizeHLFIR.cpp
    M flang/test/HLFIR/associate-codegen.fir

  Log Message:
  -----------
  [flang][HLFIR] allow hlfir.get_length with hlfir.associate

hlfir.get_length will not modify the buffer and so it is safe for a
hlfir.associate using the same expression buffer not to make its own
copy.

Differential Revision: https://reviews.llvm.org/D154942




More information about the All-commits mailing list