[all-commits] [llvm/llvm-project] b12c64: [mlir][vector] Fix crash on untraceable masks in g...

Marquis via All-commits all-commits at lists.llvm.org
Fri Jul 10 07:51:41 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b12c64e0a26e9d0a45bc013bb1740e16100a700c
      https://github.com/llvm/llvm-project/commit/b12c64e0a26e9d0a45bc013bb1740e16100a700c
  Author: Marquis <98034810+marquisburg at users.noreply.github.com>
  Date:   2026-07-10 (Fri, 10 Jul 2026)

  Changed paths:
    M mlir/lib/Dialect/Vector/Transforms/VectorEmulateNarrowType.cpp
    M mlir/test/Dialect/Vector/emulate-narrow-type-unsupported.mlir

  Log Message:
  -----------
  [mlir][vector] Fix crash on untraceable masks in getCompressedMaskOp (#207299)

The loop tracing a mask back to its creation op assumed the chain always
ends at a create_mask/constant_mask/arith.constant, a block-argument
mask made it fall through to isa<> on a null op (segfault), and any
other unhandled defining op spun it forever.

Fixes #206928

Claude Fable 5 did assist with this.



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