[flang-commits] [flang] [Flang] Adding atomicadd as a cudadevice intrinsic and converting it LLVM dialect (PR #123840)

via flang-commits flang-commits at lists.llvm.org
Wed Jan 22 01:45:55 PST 2025


================
@@ -185,6 +185,7 @@ struct IntrinsicLibrary {
   mlir::Value genAnint(mlir::Type, llvm::ArrayRef<mlir::Value>);
   fir::ExtendedValue genAny(mlir::Type, llvm::ArrayRef<fir::ExtendedValue>);
   mlir::Value genAtanpi(mlir::Type, llvm::ArrayRef<mlir::Value>);
+  mlir::Value genAtomAdd(mlir::Type, llvm::ArrayRef<mlir::Value>);
----------------
jeanPerier wrote:

As someone that spending a lot of time grepping, I much rather having the full "atomic" spelling at the cost of extra lines in the table.

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


More information about the flang-commits mailing list