[all-commits] [llvm/llvm-project] 4cb143: [mlir][spirv] Fix a crash in `spirv::ISubOp::fold`...

Longsheng Mou via All-commits all-commits at lists.llvm.org
Mon Mar 17 18:19:10 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4cb1430c1cc6c6c3ecfb092d3228dd1420332a33
      https://github.com/llvm/llvm-project/commit/4cb1430c1cc6c6c3ecfb092d3228dd1420332a33
  Author: Longsheng Mou <longshengmou at gmail.com>
  Date:   2025-03-18 (Tue, 18 Mar 2025)

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

  Log Message:
  -----------
  [mlir][spirv] Fix a crash in `spirv::ISubOp::fold` (#131570)

This PR fixes a crash if `spirv.ISub` is not integer type. Fixes
#131283.



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