[llvm] [AMDGPU] Change isSingleLaneExecution to account for WWM enabling lanes even if there's only one workitem (PR #188316)
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Mon Mar 30 12:52:01 PDT 2026
================
@@ -0,0 +1,108 @@
+; NOTE: Assertions have been autogenerated by utils/update_test_checks.py UTC_ARGS: --check-attributes --check-globals all --version 5
+; Test the generation of the attribute amdgpu-no-wwm
+; RUN: opt -S -mtriple=amdgcn-amd-amdhsa -mcpu=gfx900 -passes=amdgpu-attributor < %s | FileCheck -check-prefixes=GFX9 %s
+; RUN: opt -S -mtriple=amdgcn-amd-amdhsa -mcpu=gfx1010 -passes=amdgpu-attributor < %s | FileCheck -check-prefixes=GFX10 %s
+; RUN: opt -S -mtriple=amdgcn-amd-amdhsa -mcpu=gfx1100 -passes=amdgpu-attributor < %s | FileCheck -check-prefixes=GFX11 %s
+; RUN: opt -S -mtriple=amdgcn-amd-amdhsa -mcpu=gfx1200 -passes=amdgpu-attributor < %s | FileCheck -check-prefixes=GFX12 %s
----------------
arsenm wrote:
Not subtarget dependent, don't need all of these
https://github.com/llvm/llvm-project/pull/188316
More information about the llvm-commits
mailing list