[all-commits] [llvm/llvm-project] 23149d: [mlir] Added ctlz and cttz to math dialect and LLV...

rsuderman via All-commits all-commits at lists.llvm.org
Wed Dec 8 14:41:05 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 23149d522b92cf7525e3415c2c184ca6ecfbc1a1
      https://github.com/llvm/llvm-project/commit/23149d522b92cf7525e3415c2c184ca6ecfbc1a1
  Author: Rob Suderman <rob.suderman at gmail.com>
  Date:   2021-12-08 (Wed, 08 Dec 2021)

  Changed paths:
    M mlir/include/mlir/Dialect/LLVMIR/LLVMOps.td
    M mlir/include/mlir/Dialect/Math/IR/MathOps.td
    M mlir/lib/Conversion/MathToLLVM/MathToLLVM.cpp
    M mlir/test/Conversion/MathToLLVM/math-to-llvm.mlir
    M mlir/test/Target/LLVMIR/llvmir-intrinsics.mlir

  Log Message:
  -----------
  [mlir] Added ctlz and cttz to math dialect and LLVM dialect

Count leading/trailing zeros are an existing LLVM intrinsic. Added LLVM
support for the intrinsics with lowerings from the math dialect to LLVM
dialect.

Reviewed By: ftynse

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




More information about the All-commits mailing list