[all-commits] [llvm/llvm-project] b477d3: [flang] Align runtime info and lowering regarding ...

jeanPerier via All-commits all-commits at lists.llvm.org
Fri Feb 9 00:11:02 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b477d39bf6811ac12a1e7e98f308cf4c9a8de26f
      https://github.com/llvm/llvm-project/commit/b477d39bf6811ac12a1e7e98f308cf4c9a8de26f
  Author: jeanPerier <jperier at nvidia.com>
  Date:   2024-02-09 (Fri, 09 Feb 2024)

  Changed paths:
    M flang/include/flang/Evaluate/characteristics.h
    M flang/lib/Evaluate/characteristics.cpp
    M flang/lib/Lower/CallInterface.cpp
    M flang/lib/Semantics/runtime-type-info.cpp
    A flang/test/Semantics/typeinfo09.f90

  Log Message:
  -----------
  [flang] Align runtime info and lowering regarding passing ABIs (#81166)

Runtime derived type info contains information to tell the runtime if
some argument in a user defined assignment must be passed with a
descriptor or not. This information was not properly build, it would
tell the runtime that TARGET argument must be passed via descriptor,
which is incorrect.

Share the logic between lowering and runtime info generation to
determine if an argument must be passed by descriptor or not.




More information about the All-commits mailing list