[clang] [llvm] [mlir] [AMDGPU] Verify AMDGPU required workgroup size matches flat workgroup size (PR #200989)

Shilei Tian via cfe-commits cfe-commits at lists.llvm.org
Mon Jun 1 19:53:54 PDT 2026


================
@@ -2814,6 +2817,80 @@ void Verifier::verifyFunctionMetadata(
   }
 }
 
+void Verifier::verifyAMDGPUReqdWorkGroupSize(const Function &F) {
----------------
shiltian wrote:

I kind of wonder if the generic verifier is the right place doing this kind of check. CC @nikic 

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


More information about the cfe-commits mailing list