[all-commits] [llvm/llvm-project] 6f0401: [mlir][llvmir] Add support for llvm.signext/zeroex...

Slava Zakharin via All-commits all-commits at lists.llvm.org
Thu Nov 3 09:20:17 PDT 2022


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

  Changed paths:
    M mlir/include/mlir/Dialect/LLVMIR/LLVMOpBase.td
    M mlir/lib/Target/LLVMIR/ModuleTranslation.cpp
    M mlir/test/Target/LLVMIR/llvmir-invalid.mlir
    M mlir/test/Target/LLVMIR/llvmir.mlir

  Log Message:
  -----------
  [mlir][llvmir] Add support for llvm.signext/zeroext function attributes.

This change-set adds basic support for llvm.signext and llvm.zeroext
attributes, and makes sure that the attributes are translated to LLVM IR
when attached to arguments.

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

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




More information about the All-commits mailing list