[all-commits] [llvm/llvm-project] 120869: [mlir][transforms] Skip `RemoveDeadValues` for fun...

Longsheng Mou via All-commits all-commits at lists.llvm.org
Sat Sep 14 06:25:12 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 12086996183c6c1f3e390848b67036a6c826b3fb
      https://github.com/llvm/llvm-project/commit/12086996183c6c1f3e390848b67036a6c826b3fb
  Author: Longsheng Mou <longshengmou at gmail.com>
  Date:   2024-09-14 (Sat, 14 Sep 2024)

  Changed paths:
    M mlir/lib/Transforms/RemoveDeadValues.cpp
    M mlir/test/Transforms/remove-dead-values.mlir

  Log Message:
  -----------
  [mlir][transforms] Skip `RemoveDeadValues` for function declaration (#108221)

This patch skips `RemoveDeadValues` if funcOp is declaration, which
fixes a crash.
Fixes #107546.



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