[all-commits] [llvm/llvm-project] 473d00: [mlir][llvmir] Convert attributes for functions wi...

Slava Zakharin via All-commits all-commits at lists.llvm.org
Thu Nov 3 08:54:03 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 473d00115244ae8bfc3049a32262a347aeccb460
      https://github.com/llvm/llvm-project/commit/473d00115244ae8bfc3049a32262a347aeccb460
  Author: Slava Zakharin <szakharin at nvidia.com>
  Date:   2022-11-03 (Thu, 03 Nov 2022)

  Changed paths:
    M flang/test/Fir/target.fir
    M mlir/lib/Target/LLVMIR/ModuleTranslation.cpp
    M mlir/test/Dialect/LLVMIR/func.mlir
    M mlir/test/Target/LLVMIR/llvmir.mlir

  Log Message:
  -----------
  [mlir][llvmir] Convert attributes for functions without bodies.

So far the function argument attributes were only translated
for functions with bodies. This change makes sure that this
happens for functions without bodies (declarations) as well.

This is needed for https://github.com/llvm/llvm-project/issues/58579

Reviewed By: ftynse

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




More information about the All-commits mailing list