[llvm] [NFC][AMDGPU] New test for untested case in SILowerI1Copies (PR #186127)
Juan Manuel Martinez CaamaƱo via llvm-commits
llvm-commits at lists.llvm.org
Tue Mar 17 03:12:05 PDT 2026
================
@@ -0,0 +1,149 @@
+; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py UTC_ARGS: --version 6
+; RUN: llc -mtriple=amdgcn-amd-amdhsa -O1 < %s | FileCheck %s
----------------
jmmartinez wrote:
`si-lower-i1-copies` runs regardless of the optimization level, right?
It runs after `AMDGPU DAG->DAG Pattern Instruction Selection` and `SI Fix SGPR copies` which also run regardless of the optimization level.
In that case, would it be possible to recover the LLVM-IR just before instruction selection and try compiling that code without `-O1`?
https://github.com/llvm/llvm-project/pull/186127
More information about the llvm-commits
mailing list