[Mlir-commits] [mlir] [mlir][VectorOps] Support string literals in `vector.print` (PR #68695)
Benjamin Maxwell
llvmlistbot at llvm.org
Mon Oct 23 08:08:15 PDT 2023
================
@@ -158,7 +158,8 @@ extern "C" void printMemrefC64(int64_t rank, void *ptr) {
_mlir_ciface_printMemrefC64(&descriptor);
}
-extern "C" void printCString(char *str) { printf("%s", str); }
+/// Deprecated. This should be unified with printString from CRunnerUtils.
+extern "C" void printCString(char *str) { fputs(str, stdout); }
----------------
MacDue wrote:
It follows on for #68973 (which removes all uses of `printCString()`), so I'll follow this up after that.
https://github.com/llvm/llvm-project/pull/68695
More information about the Mlir-commits
mailing list