[all-commits] [llvm/llvm-project] cc3b6f: [mlir][spirv] Add folding for [S|U|GreaterThan[Equ...

Finn Plummer via All-commits all-commits at lists.llvm.org
Mon Mar 25 19:49:33 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: cc3b6f94952e1184df44c2b039d21665116151ed
      https://github.com/llvm/llvm-project/commit/cc3b6f94952e1184df44c2b039d21665116151ed
  Author: Finn Plummer <50529406+inbelic at users.noreply.github.com>
  Date:   2024-03-25 (Mon, 25 Mar 2024)

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

  Log Message:
  -----------
  [mlir][spirv] Add folding for [S|U|GreaterThan[Equal] (#85434)

Add missing constant propogation folder for [S|U]GreaterThan[Equal].

Implement additional folding when the operands are equal for all ops.

Allows for constant folding in the IndexToSPIRV pass.

Part of work #70704



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list