[PATCH] D151341: AMDGPU: Special case uniformity info for single lane workgroups
Matt Arsenault via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Jun 16 15:52:02 PDT 2023
arsenm added inline comments.
================
Comment at: llvm/test/Analysis/UniformityAnalysis/AMDGPU/workitem-intrinsics.ll:44-50
+; CHECK-LABEL: UniformityInfo for function 'workitem_id_x_singlethreaded':
+; CHECK-NOT: DIVERGENT
+define amdgpu_kernel void @workitem_id_x_singlethreaded() #2 {
+ %id.x = call i32 @llvm.amdgcn.workitem.id.x()
+ store volatile i32 %id.x, ptr addrspace(1) undef
+ ret void
+}
----------------
yassingh wrote:
> Same as above, equivalent GMIR test?
Can't test MIR as-is, the TTI based machine uniformity query is broken as mentioned in the last patch
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D151341/new/
https://reviews.llvm.org/D151341
More information about the llvm-commits
mailing list