[flang-commits] [flang] WIP: Using nvvm intrinsics for the syncthread and threadfence families of calls (PR #120020)

Valentin Clement バレンタイン クレメン via flang-commits flang-commits at lists.llvm.org
Tue Dec 17 22:38:37 PST 2024


================
@@ -660,6 +664,9 @@ static constexpr IntrinsicHandler handlers[]{
      &I::genTranspose,
      {{{"matrix", asAddr}}},
      /*isElemental=*/false},
+    {"threadfence", &I::genThreadFence, {}, /*isElemental=*/false},
+    {"threadfence_block", &I::genThreadFenceBlock, {}, /*isElemental=*/false},
+    {"threadfence_system", &I::genThreadFenceSystem, {}, /*isElemental=*/false},
----------------
clementval wrote:

This need to be just between "tan" and "trailz"

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


More information about the flang-commits mailing list