[all-commits] [llvm/llvm-project] f1162f: [mlir][spirv] Add folds for `BitwiseAnd` and `Bitw...

Jakub Kuderski via All-commits all-commits at lists.llvm.org
Mon Sep 4 10:13:10 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f1162fb677bf6641928a2390edac5a8d62cf1250
      https://github.com/llvm/llvm-project/commit/f1162fb677bf6641928a2390edac5a8d62cf1250
  Author: Jakub Kuderski <jakub at nod-labs.com>
  Date:   2023-09-04 (Mon, 04 Sep 2023)

  Changed paths:
    M mlir/include/mlir/Dialect/SPIRV/IR/SPIRVBitOps.td
    M mlir/lib/Dialect/SPIRV/IR/SPIRVOps.cpp
    M mlir/test/Dialect/SPIRV/IR/bit-ops.mlir

  Log Message:
  -----------
  [mlir][spirv] Add folds for `BitwiseAnd` and `BitwiseOr`

The newly folded patterns get produced by type emulation code, so we
cannot rely on the Arith folders handling these folds.

Reviewed By: antiagainst

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




More information about the All-commits mailing list