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

Renaud Kauffmann via flang-commits flang-commits at lists.llvm.org
Wed Dec 18 08:49:01 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},
----------------
Renaud-K wrote:

Thank you. Since most worked, I thought the order was just there for readability. 

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


More information about the flang-commits mailing list