[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 10:30:55 PDT 2024


================
@@ -0,0 +1,64 @@
+# NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py UTC_ARGS: --version 4
+# RUN: llc -mtriple=amdgcn-amd-amdhsa -mcpu=gfx908 -verify-machineinstrs -run-pass si-fold-operands -o - %s | FileCheck %s
+
----------------
arsenm wrote:

Can you just merge this with test/CodeGen/AMDGPU/fold-agpr-phis.mir instead of a new test file? 

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


More information about the llvm-commits mailing list