[llvm] [CodeGen] Debug insns must not affect DCE (PR #193104)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 21 02:51:20 PDT 2026


================
@@ -0,0 +1,25 @@
+# NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py
+# RUN: llc -mtriple=amdgcn -mcpu=gfx900 -run-pass dead-mi-elimination -o - %s | FileCheck %s
+# RUN: llc -mtriple=amdgcn -mcpu=gfx900 -run-pass dead-mi-elimination -o - %s -debugify-and-strip-all-safe | FileCheck %s
----------------
arsenm wrote:

```suggestion
# RUN: llc -mtriple=amdgcn -mcpu=gfx900 -run-pass=dead-mi-elimination -o - %s | FileCheck %s
# RUN: llc -mtriple=amdgcn -mcpu=gfx900 -run-pass=dead-mi-elimination -o - %s -debugify-and-strip-all-safe | FileCheck %s
```

https://github.com/llvm/llvm-project/pull/193104


More information about the llvm-commits mailing list