[llvm] 4c2ee57 - AMDGPU: Fix test relying on incompatible attributes

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 21 19:44:41 PDT 2021


Author: Matt Arsenault
Date: 2021-09-21T22:44:35-04:00
New Revision: 4c2ee571482e066c0a524bd393a4c61aeaecff8a

URL: https://github.com/llvm/llvm-project/commit/4c2ee571482e066c0a524bd393a4c61aeaecff8a
DIFF: https://github.com/llvm/llvm-project/commit/4c2ee571482e066c0a524bd393a4c61aeaecff8a.diff

LOG: AMDGPU: Fix test relying on incompatible attributes

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.

Added: 
    

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

Removed: 
    


################################################################################
diff  --git a/llvm/test/CodeGen/AMDGPU/large-work-group-promote-alloca.ll b/llvm/test/CodeGen/AMDGPU/large-work-group-promote-alloca.ll
index 778e9ed9a8f1..15c1643990d9 100644
--- a/llvm/test/CodeGen/AMDGPU/large-work-group-promote-alloca.ll
+++ b/llvm/test/CodeGen/AMDGPU/large-work-group-promote-alloca.ll
@@ -275,7 +275,7 @@ entry:
 
 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" }


        


More information about the llvm-commits mailing list