[all-commits] [llvm/llvm-project] dea55c: [mlir][NVGPU] Validate mmaShape has 3 elements in ...

Longsheng Mou via All-commits all-commits at lists.llvm.org
Wed Apr 15 19:10:08 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: dea55c9b0b244d4cbd06d2427b26942608db300c
      https://github.com/llvm/llvm-project/commit/dea55c9b0b244d4cbd06d2427b26942608db300c
  Author: Longsheng Mou <longshengmou at gmail.com>
  Date:   2026-04-16 (Thu, 16 Apr 2026)

  Changed paths:
    M mlir/lib/Dialect/NVGPU/IR/NVGPUDialect.cpp
    M mlir/test/Dialect/NVGPU/invalid.mlir

  Log Message:
  -----------
  [mlir][NVGPU] Validate mmaShape has 3 elements in MmaSyncOp/MmaSparseSyncOp (#190928)

Add validation in MmaSyncOp::verify and MmaSparseSyncOp::verify to
ensure `mmaShape` contains exactly 3 elements before calling
getMmaShapeAsArray() to avoid crash. Fixes
https://github.com/llvm/llvm-project/issues/173378.



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