[all-commits] [llvm/llvm-project] ce9095: [mlir][spirv] Fold noop `BitcastsOp`s

Jakub Kuderski via All-commits all-commits at lists.llvm.org
Fri Nov 4 14:38:19 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ce90957461d5d5e4290a61267b4726d3842483d7
      https://github.com/llvm/llvm-project/commit/ce90957461d5d5e4290a61267b4726d3842483d7
  Author: Jakub Kuderski <kubak at google.com>
  Date:   2022-11-04 (Fri, 04 Nov 2022)

  Changed paths:
    M mlir/include/mlir/Dialect/SPIRV/IR/SPIRVCastOps.td
    M mlir/lib/Dialect/SPIRV/IR/SPIRVCanonicalization.cpp
    M mlir/lib/Dialect/SPIRV/IR/SPIRVCanonicalization.td
    M mlir/test/Dialect/SPIRV/Transforms/canonicalize.mlir

  Log Message:
  -----------
  [mlir][spirv] Fold noop `BitcastsOp`s

This allows for bitcast conversion to roundtrip.

Fixes: https://github.com/llvm/llvm-project/issues/58801

Reviewed By: antiagainst, Hardcode84, mravishankar

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




More information about the All-commits mailing list