[llvm] fix template compilation issue in flang-rt, fix issue #160534 (PR #161250)

Valentin Clement バレンタイン クレメン via llvm-commits llvm-commits at lists.llvm.org
Sat Oct 4 21:28:32 PDT 2025


================
@@ -62,7 +62,7 @@ inline static RT_API_ATTRS void MatrixTransposedTimesMatrix(
     std::size_t yColumnByteStride = 0) {
   using ResultType = CppTypeFor<RCAT, RKIND>;
 
-  Fortran::runtime::memset(product, 0, rows * cols * sizeof *product);
+  std::memset(product, 0, rows * cols * sizeof *product);
----------------
clementval wrote:

Does it still work now that you change it back to Fortran::runtime? 

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


More information about the llvm-commits mailing list