[PATCH] D109704: AMDGPU: Fix test relying on incompatible attributes

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 13 09:51:37 PDT 2021


arsenm created this revision.
arsenm added reviewers: rampitec, kzhuravl, t-tye.
Herald added subscribers: kerbowa, tpr, dstuttard, yaxunl, nhaehnle, jvesely.
arsenm requested review of this revision.
Herald added a subscriber: wdng.
Herald added a project: LLVM.

This combination of amdgpu-waves-per-eu and
amdgpu-flat-work-group-size cannot be satisfied at the same time, so
this was using the default.


https://reviews.llvm.org/D109704

Files:
  llvm/test/CodeGen/AMDGPU/large-work-group-promote-alloca.ll


Index: llvm/test/CodeGen/AMDGPU/large-work-group-promote-alloca.ll
===================================================================
--- llvm/test/CodeGen/AMDGPU/large-work-group-promote-alloca.ll
+++ llvm/test/CodeGen/AMDGPU/large-work-group-promote-alloca.ll
@@ -275,7 +275,7 @@
 
 attributes #0 = { nounwind "amdgpu-flat-work-group-size"="63,63" }
 attributes #1 = { nounwind "amdgpu-waves-per-eu"="1,3" "amdgpu-flat-work-group-size"="256,256" }
-attributes #2 = { nounwind "amdgpu-waves-per-eu"="1,1" "amdgpu-flat-work-group-size"="1024,1024" }
+attributes #2 = { nounwind "amdgpu-waves-per-eu"="1,9" "amdgpu-flat-work-group-size"="1024,1024" }
 attributes #3 = { nounwind "amdgpu-waves-per-eu"="1,10" }
 attributes #4 = { nounwind "amdgpu-waves-per-eu"="1,10" }
 attributes #5 = { nounwind "amdgpu-waves-per-eu"="1,6" "amdgpu-flat-work-group-size"="64,64" }


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D109704.372283.patch
Type: text/x-patch
Size: 865 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210913/6224eac0/attachment.bin>


More information about the llvm-commits mailing list