[all-commits] [llvm/llvm-project] b0cc32: [mlir] Check for argument uses in test-func-erase-...

lijinpei-amd via All-commits all-commits at lists.llvm.org
Fri Jun 12 06:57:41 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b0cc3225b2f618b5760552b1dc7ce0ea26225c8f
      https://github.com/llvm/llvm-project/commit/b0cc3225b2f618b5760552b1dc7ce0ea26225c8f
  Author: lijinpei-amd <jinpli at amd.com>
  Date:   2026-06-12 (Fri, 12 Jun 2026)

  Changed paths:
    A mlir/test/IR/test-func-erase-arg-error.mlir
    M mlir/test/lib/IR/TestFunc.cpp

  Log Message:
  -----------
  [mlir] Check for argument uses in test-func-erase-arg pass (#203367)

The -test-func-erase-arg pass crashed when erasing arguments that still
had uses. Diagnose every such argument and fail the pass without
erasing.

Fixes https://github.com/llvm/llvm-project/issues/203218

Assisted-by: Claude (Claude Code)



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