[llvm] [AMDGPU] iglp.opt does not clobber memory operands (PR #126976)
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Wed Feb 12 20:39:20 PST 2025
================
@@ -0,0 +1,39 @@
+; RUN: llc -mtriple=amdgcn -mcpu=gfx942 --stop-after=si-fix-sgpr-copies < %s | FileCheck %s
+
+; iglp.opt should not be flagged as clobbering the memory operand for the global_load, and we should be able to
+; lower into the scalar version (i.e. should not need to lower into vector version with waterfall loop)
+; CHECK-NOT: WATERFALL
----------------
arsenm wrote:
This is much too fragile of a check. Positively check the output, preferably the final output
https://github.com/llvm/llvm-project/pull/126976
More information about the llvm-commits
mailing list