[llvm] Fix test from #168609 (PR #169041)

via llvm-commits llvm-commits at lists.llvm.org
Fri Nov 21 05:54:27 PST 2025


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-backend-amdgpu

Author: Walter Lee (googlewalt)

<details>
<summary>Changes</summary>



---
Full diff: https://github.com/llvm/llvm-project/pull/169041.diff


1 Files Affected:

- (modified) llvm/test/CodeGen/AMDGPU/rewrite-vgpr-mfma-scale-to-agpr.mir (+1-1) 


``````````diff
diff --git a/llvm/test/CodeGen/AMDGPU/rewrite-vgpr-mfma-scale-to-agpr.mir b/llvm/test/CodeGen/AMDGPU/rewrite-vgpr-mfma-scale-to-agpr.mir
index ab56c9982753f..999ea42910d92 100644
--- a/llvm/test/CodeGen/AMDGPU/rewrite-vgpr-mfma-scale-to-agpr.mir
+++ b/llvm/test/CodeGen/AMDGPU/rewrite-vgpr-mfma-scale-to-agpr.mir
@@ -1,4 +1,4 @@
-# RUN: not llc -mtriple=amdgcn-amd-amdhsa -mcpu=gfx950 -run-pass=greedy,amdgpu-rewrite-agpr-copy-mfma -verify-machineinstrs -o - %s 2>&1 | FileCheck %s
+# RUN: not --crash llc -mtriple=amdgcn-amd-amdhsa -mcpu=gfx950 -run-pass=greedy,amdgpu-rewrite-agpr-copy-mfma -verify-machineinstrs -o - %s 2>&1 | FileCheck %s
 # CHECK: Illegal virtual register for instruction
 # CHECK: Expected a VGPR_32 register, but got a AGPR_32 register
  

``````````

</details>


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


More information about the llvm-commits mailing list