[llvm] [KernelInfo] Implement new LLVM IR pass for GPU code analysis (PR #102944)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 24 10:14:07 PDT 2024


================
@@ -1788,6 +1788,11 @@ class TargetTransformInfo {
 
   /// @}
 
+  /// For \p F, call \p Body with the name and value of each launch bound.
+  void forEachLaunchBound(
----------------
arsenm wrote:

This is a very specific, not general concept. The name and comment needs to elaborate for what the context is.

Could this be a query to return the set of attributes and values, rather than the callback? 

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


More information about the llvm-commits mailing list