[llvm] [DebugInfo][RegisterCoalescer] Drop DBG_VALUEs with unsupported register class (PR #143132)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 6 06:30:49 PDT 2025


================
@@ -0,0 +1,149 @@
+# Check if DBG_VALUE is set to undef if it doesn't support an updated
+# register class.
+# Input was generated from compiler-rt/lib/builtins/adddf3.c.
+
+# RUN: llc -mtriple i386-apple-macosx10.7.0 -run-pass=register-coalescer %s -o - | FileCheck %s
+
+# CHECK-NOT: DBG_VALUE.*sub_8bit
----------------
arsenm wrote:

-NOT checks are too fragile. use update_mir_test_checks 

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


More information about the llvm-commits mailing list