[all-commits] [llvm/llvm-project] 921c6f: [mlir][FuncToLLVM] Drop llvm.linkage attribute

Christian Ulmann via All-commits all-commits at lists.llvm.org
Thu Jan 19 01:29:45 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 921c6f070714233ab707808354520b3f6e0ff4d6
      https://github.com/llvm/llvm-project/commit/921c6f070714233ab707808354520b3f6e0ff4d6
  Author: Christian Ulmann <christian.ulmann at nextsilicon.com>
  Date:   2023-01-19 (Thu, 19 Jan 2023)

  Changed paths:
    M mlir/lib/Conversion/FuncToLLVM/FuncToLLVM.cpp
    M mlir/test/Conversion/FuncToLLVM/convert-funcs.mlir
    M mlir/test/Conversion/FuncToLLVM/emit-c-wrappers-for-external-callers.mlir
    M mlir/test/Conversion/FuncToLLVM/emit-c-wrappers-for-external-functions.mlir

  Log Message:
  -----------
  [mlir][FuncToLLVM] Drop llvm.linkage attribute

This commit ensures that all functions produced by `FuncToLLVM` drop the
llvm.linkage attribute. Furthermore, it adds a small test that checks if
the readnone attribute is preserved.

Reviewed By: gysit

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




More information about the All-commits mailing list