[all-commits] [llvm/llvm-project] 13cb08: [mlir] Support llvm.readnone attribute for all Fun...

Slava Zakharin via All-commits all-commits at lists.llvm.org
Wed Aug 24 10:14:06 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 13cb085ca1dfc7f4bf62b642a69b1dd17f1fd01e
      https://github.com/llvm/llvm-project/commit/13cb085ca1dfc7f4bf62b642a69b1dd17f1fd01e
  Author: Slava Zakharin <szakharin at nvidia.com>
  Date:   2022-08-24 (Wed, 24 Aug 2022)

  Changed paths:
    M mlir/include/mlir/Dialect/LLVMIR/LLVMOpBase.td
    M mlir/lib/Dialect/LLVMIR/IR/LLVMDialect.cpp
    M mlir/lib/Target/LLVMIR/ConvertFromLLVMIR.cpp
    M mlir/lib/Target/LLVMIR/ModuleTranslation.cpp
    M mlir/test/Dialect/LLVMIR/func.mlir
    A mlir/test/Target/LLVMIR/Import/function_attributes.ll
    M mlir/test/Target/LLVMIR/llvmir.mlir

  Log Message:
  -----------
  [mlir] Support llvm.readnone attribute for all FunctionOpInterface ops.

The attribute is translated into LLVM's function attribute 'readnone'.
There is no explicit verification regarding conflicting 'readnone'
and function attributes from 'passthrough', though, LLVM would assert
if they are incompatible during LLVM IR creation.

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




More information about the All-commits mailing list