[all-commits] [llvm/llvm-project] 326f58: [flang][HLFIR] lower hlfir.declare of assumed-rank...

jeanPerier via All-commits all-commits at lists.llvm.org
Wed May 29 01:19:30 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 326f58d7d68c33cfbb6ad54123ab9b56114de502
      https://github.com/llvm/llvm-project/commit/326f58d7d68c33cfbb6ad54123ab9b56114de502
  Author: jeanPerier <jperier at nvidia.com>
  Date:   2024-05-29 (Wed, 29 May 2024)

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

  Log Message:
  -----------
  [flang][HLFIR] lower hlfir.declare of assumed-ranks (#93468)

hlfir.declare is in charge of ensuring that the lower bounds of its
"hlfir entity" output are the ones of the source program. For
non-allocatable/non-pointer assumed-ranks where the input descriptor
lower bounds may not be ones, the hlfir.declare needs to be lowered to
an hlfir.rebox_assumed_rank to set the lower bounds to ones.



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