[llvm] [1/2][AMDGPU] Fixed crash due to virtual register defs not dominating uses (PR #198472)

Quentin Colombet via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 10 09:34:31 PDT 2026


================
@@ -0,0 +1,159 @@
+; REQUIRES: asserts
+; RUN: llc -O3 -mtriple=amdgcn-amd-amdhsa -mcpu=gfx950 \
+; RUN:   -stop-after=amdgpu-rewrite-agpr-copy-mfma \
+; RUN:   -debug-only=amdgpu-rewrite-agpr-copy-mfma -filetype=null %s 2>&1 \
----------------
qcolombet wrote:

>  The debug-only option allows the CHECK against the message saying an implicit def was introduced.

Can we check that the IMPLICIT_DEF is in the MIR output instead?

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


More information about the llvm-commits mailing list