[clang] [OpenACC][CIR] Implement 'self' lowering on compute constructs (PR #135851)

Erich Keane via cfe-commits cfe-commits at lists.llvm.org
Tue Apr 15 13:51:12 PDT 2025


================
@@ -32,46 +32,52 @@ constexpr bool isOneOfTypes =
 template <typename ToTest, typename T>
 constexpr bool isOneOfTypes<ToTest, T> = std::is_same_v<ToTest, T>;
 
+template <typename OpTy>
----------------
erichkeane wrote:

We end up needing to template-ize this, since the visitor handler functions are not needing to `if-constexpr` instead of just the `apply` function.

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


More information about the cfe-commits mailing list