[all-commits] [llvm/llvm-project] 1d57b9: [flang] Pass one element struct by register on X86...

jeanPerier via All-commits all-commits at lists.llvm.org
Tue Dec 19 00:51:12 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1d57b9a5b1bb99334139ce671ab15650cc96cbc8
      https://github.com/llvm/llvm-project/commit/1d57b9a5b1bb99334139ce671ab15650cc96cbc8
  Author: jeanPerier <jperier at nvidia.com>
  Date:   2023-12-19 (Tue, 19 Dec 2023)

  Changed paths:
    M flang/lib/Optimizer/CodeGen/Target.cpp
    A flang/test/Fir/struct-passing-x86-64-one-field-inreg.fir

  Log Message:
  -----------
  [flang] Pass one element struct by register on X86-64 (#75802)

Implement the C struct passing ABI on X86-64 for the trivial case where
the structs have one element. This is required to cover some cases of
BIND(C) derived type pass with the VALUE attribute.




More information about the All-commits mailing list