[all-commits] [llvm/llvm-project] 230b18: [mlir][spirv] Add folding for [S|U|LessThan[Equal]...

Finn Plummer via All-commits all-commits at lists.llvm.org
Sun Mar 24 18:57:09 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 230b1895c493c511c11541af3b5bc819887c82a8
      https://github.com/llvm/llvm-project/commit/230b1895c493c511c11541af3b5bc819887c82a8
  Author: Finn Plummer <50529406+inbelic at users.noreply.github.com>
  Date:   2024-03-24 (Sun, 24 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|LessThan[Equal] (#85435)

Add missing constant propogation folder for [S|U]LessThan[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