[all-commits] [llvm/llvm-project] b2bf99: [flang] Lower storage_size intrinsic for polymorph...

Valentin Clement (バレンタイン クレメン) via All-commits all-commits at lists.llvm.org
Tue Jan 31 00:44:49 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b2bf995c02a04fd7f453d6931b79ce5a51871489
      https://github.com/llvm/llvm-project/commit/b2bf995c02a04fd7f453d6931b79ce5a51871489
  Author: Valentin Clement <clementval at gmail.com>
  Date:   2023-01-31 (Tue, 31 Jan 2023)

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

  Log Message:
  -----------
  [flang] Lower storage_size intrinsic for polymorphic entities

Lower STOARGE_SIZE intrinsic when the argument is polymoprhic
or unlimited polymorphic. STOARGE_SIZE for monomorphic entity is folded
by the frontend.

Reviewed By: vzakhari, vdonaldson

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




More information about the All-commits mailing list