[PATCH] D148906: [AMDGPU] Remove function if FeatureWavefrontSize 32 is not supported on current GPU
Matt Arsenault via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri May 19 10:08:42 PDT 2023
arsenm accepted this revision.
arsenm added inline comments.
This revision is now accepted and ready to land.
================
Comment at: llvm/test/CodeGen/AMDGPU/remove-incompatible-wave32-feature.ll:30-32
+ %1 = tail call i32 @llvm.read_register.i32(metadata !0)
+ %2 = tail call i32 @llvm.ctpop.i32(i32 %1)
+ store i32 %2, ptr %out, align 4
----------------
Note these functions don't really "require" wave 32. They will codegen just fine without it
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D148906/new/
https://reviews.llvm.org/D148906
More information about the llvm-commits
mailing list