[all-commits] [llvm/llvm-project] ef87da: [mlir][spirv] Remove invalid canon pattern for GL....

Jakub Kuderski via All-commits all-commits at lists.llvm.org
Mon Oct 20 12:41:34 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ef87da06326e879ba74d0935673a8c18d0e69825
      https://github.com/llvm/llvm-project/commit/ef87da06326e879ba74d0935673a8c18d0e69825
  Author: Jakub Kuderski <jakub at nod-labs.com>
  Date:   2025-10-20 (Mon, 20 Oct 2025)

  Changed paths:
    M mlir/lib/Dialect/SPIRV/IR/SPIRVCanonicalization.td
    M mlir/lib/Dialect/SPIRV/IR/SPIRVGLCanonicalization.cpp
    M mlir/test/Dialect/SPIRV/Transforms/gl-canonicalize.mlir

  Log Message:
  -----------
  [mlir][spirv] Remove invalid canon pattern for GL.Length (#164301)

This rewrite does not preserve numerics: for example, we'd expect the
maximum fp value to yield Inf instead of identity.

`GL.Length` does not allow for fast math flags, so we need to remove
this. Special cases (constants) can be handled via a folder if someone
wants to implement one.



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