[all-commits] [llvm/llvm-project] 9ef314: [mlir][index] Add shl, shrs, and shru ops

Jeff Niu via All-commits all-commits at lists.llvm.org
Thu Nov 3 16:29:17 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9ef31465114dcd226c27f43b73f221e89a4fa83d
      https://github.com/llvm/llvm-project/commit/9ef31465114dcd226c27f43b73f221e89a4fa83d
  Author: Jeff Niu <jeff at modular.com>
  Date:   2022-11-03 (Thu, 03 Nov 2022)

  Changed paths:
    M mlir/include/mlir/Dialect/Index/IR/IndexOps.td
    M mlir/lib/Conversion/IndexToLLVM/IndexToLLVM.cpp
    M mlir/lib/Dialect/Index/IR/IndexOps.cpp
    M mlir/test/Conversion/IndexToLLVM/index-to-llvm.mlir
    M mlir/test/Dialect/Index/index-canonicalize.mlir
    M mlir/test/Dialect/Index/index-ops.mlir

  Log Message:
  -----------
  [mlir][index] Add shl, shrs, and shru ops

This patch adds the left shift, signed right shift, and unsigned right
shift operations to the index dialects with folders and LLVM lowerings.

Reviewed By: rriddle

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




More information about the All-commits mailing list