[all-commits] [llvm/llvm-project] d426cc: [mlir][SPIR-V] Guard UMod canonicalization against...

Arseniy Obolenskiy via All-commits all-commits at lists.llvm.org
Fri Jun 12 07:16:03 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d426cca8835e109069f60630f886574af273e803
      https://github.com/llvm/llvm-project/commit/d426cca8835e109069f60630f886574af273e803
  Author: Arseniy Obolenskiy <arseniy.obolenskiy at amd.com>
  Date:   2026-06-12 (Fri, 12 Jun 2026)

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

  Log Message:
  -----------
  [mlir][SPIR-V] Guard UMod canonicalization against zero divisor (#203513)

Chained `spirv.UMod` with a zero outer divisor reached `APInt::urem`
which causes UB



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