[llvm] [AMDGPU][Attributor] Make `AAAMDFlatWorkGroupSize` honor existing attribute (PR #114357)

Shilei Tian via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 31 13:23:32 PDT 2024


================
@@ -144,6 +144,20 @@ static bool funcRequiresHostcallPtr(const Function &F) {
 }
 
 namespace {
+
+std::optional<std::pair<unsigned, unsigned>> static parseRangeAttribute(
----------------
shiltian wrote:

> We should probably make this an IR verifier check

Yes, that is definitely a good idea.

https://github.com/llvm/llvm-project/pull/114357


More information about the llvm-commits mailing list