[all-commits] [llvm/llvm-project] 3328cc: [flang] lower SHAPE intrinsic (#89785)

jeanPerier via All-commits all-commits at lists.llvm.org
Wed Apr 24 06:31:08 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3328ccf68985ed512d448890ee900ed5f4bdb620
      https://github.com/llvm/llvm-project/commit/3328ccf68985ed512d448890ee900ed5f4bdb620
  Author: jeanPerier <jperier at nvidia.com>
  Date:   2024-04-24 (Wed, 24 Apr 2024)

  Changed paths:
    M flang/include/flang/Optimizer/Builder/IntrinsicCall.h
    M flang/lib/Optimizer/Builder/IntrinsicCall.cpp
    A flang/test/Lower/Intrinsics/shape.f90

  Log Message:
  -----------
  [flang] lower SHAPE intrinsic (#89785)

Semantics usually fold SHAPE into an array constructor, but sometimes it
cannot (like when the source is a function result that cannot be
duplicated in expression analysis). Add lowering handling for shape.



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