[all-commits] [llvm/llvm-project] 5836d9: [flang] add ABI argument attributes in indirect ca...

jeanPerier via All-commits all-commits at lists.llvm.org
Wed Feb 12 08:31:57 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5836d918450b07886556c519a81776db9ac91eea
      https://github.com/llvm/llvm-project/commit/5836d918450b07886556c519a81776db9ac91eea
  Author: jeanPerier <jperier at nvidia.com>
  Date:   2025-02-12 (Wed, 12 Feb 2025)

  Changed paths:
    M flang/lib/Optimizer/CodeGen/CodeGen.cpp
    M flang/lib/Optimizer/CodeGen/TargetRewrite.cpp
    M flang/test/Fir/convert-to-llvm.fir
    A flang/test/Fir/target-rewrite-indirect-calls.fir
    A flang/test/Integration/abi-indirect-call.f90

  Log Message:
  -----------
  [flang] add ABI argument attributes in indirect calls (#126896)

Last piece that implements the TODO for sret and byval setting on
indirect calls.

This includes a fix to the codegen last patch. I thought types in in
type attributes were automatically converted in dialect conversion
passes, but that is not the case. The sret and byval type needs to be
converted to llvm types in codegen (mlir FuncOp conversion is doing a
similar conversion).



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