[llvm] [AMDGPU][NFC] New tests for uncovered cases in SIInstrInfo.cpp (PR #200414)

via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 10 04:10:46 PDT 2026


================
@@ -1,9 +1,38 @@
-; RUN: llc < %s -mtriple=r600 -mcpu=redwood | FileCheck %s
-
-; CHECK: {{^}}fcmp_sext:
-; CHECK: SETE_DX10  T{{[0-9]+\.[XYZW], T[0-9]+\.[XYZW], T[0-9]+\.[XYZW]}}
+; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py UTC_ARGS: --version 6
+; RUN: llc < %s -mtriple=r600 -mcpu=redwood | FileCheck -check-prefix=CHECK-REDWOOD %s
----------------
ambergorzynski wrote:

Cleaner approach: I extracted the relevant MIR and added to existing test file `fix-sgpr-copies.mir`, which runs the `si-fix-sgpr-copies` that executes the code in `SIInstrInfo.cpp`. I re-generated file checks for all tests in the file since they were originally generated with an earlier version of the file check utility. No changes to the `RUN` line.

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


More information about the llvm-commits mailing list