[llvm] [OpenMP] Add explicit attributes to every function declaration (PR #122399)

Shilei Tian via llvm-commits llvm-commits at lists.llvm.org
Fri Jan 10 11:11:23 PST 2025


================
@@ -20,9 +20,9 @@
 // another function but only inline assembly that performs some operation or
 // side-effect and then continues execution with something on the existing call
 // stack.
-//
-// TODO: Find a good place for this
-#pragma omp assumes ext_no_call_asm
+#pragma omp begin declare variant match(device = {kind(gpu)})
----------------
shiltian wrote:

Interesting...the macro has anything to do with `declare variant`?

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


More information about the llvm-commits mailing list