[llvm] [AMDGPU] Don't optimize agpr phis if the operand doesn't have subreg use (PR #91267)
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Tue May 7 09:37:20 PDT 2024
================
@@ -0,0 +1,40 @@
+# RUN: llc -mtriple=amdgcn-amd-amdhsa -mcpu=gfx908 -verify-machineinstrs -run-pass si-fold-operands -o - %s | FileCheck %s
+
+# CHECK-NOT: V_ACCVGPR_READ_B32_e64
----------------
arsenm wrote:
Positive checks are much more reliable
https://github.com/llvm/llvm-project/pull/91267
More information about the llvm-commits
mailing list