[PATCH] D75769: [mlir][nfc] Fix building mlir_c_runner_utils for Windows
River Riddle via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Mar 6 22:57:58 PST 2020
This revision was automatically updated to reflect the committed changes.
Closed by commit rGc3108404c19a: [mlir][nfc] Fix building mlir_c_runner_utils for Windows (authored by Mason Remy <masonremy at gmail.com>, committed by rriddle).
Changed prior to commit:
https://reviews.llvm.org/D75769?vs=248810&id=248902#toc
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D75769/new/
https://reviews.llvm.org/D75769
Files:
mlir/include/mlir/ExecutionEngine/CRunnerUtils.h
mlir/lib/ExecutionEngine/CRunnerUtils.cpp
Index: mlir/lib/ExecutionEngine/CRunnerUtils.cpp
===================================================================
--- mlir/lib/ExecutionEngine/CRunnerUtils.cpp
+++ mlir/lib/ExecutionEngine/CRunnerUtils.cpp
@@ -12,6 +12,8 @@
//
//===----------------------------------------------------------------------===//
+#include "mlir/ExecutionEngine/CRunnerUtils.h"
+
#include <cinttypes>
#include <cstdio>
Index: mlir/include/mlir/ExecutionEngine/CRunnerUtils.h
===================================================================
--- mlir/include/mlir/ExecutionEngine/CRunnerUtils.h
+++ mlir/include/mlir/ExecutionEngine/CRunnerUtils.h
@@ -167,6 +167,8 @@
//===----------------------------------------------------------------------===//
// Small runtime support "lib" for vector.print lowering during codegen.
//===----------------------------------------------------------------------===//
+extern "C" MLIR_CRUNNERUTILS_EXPORT void print_i32(int32_t i);
+extern "C" MLIR_CRUNNERUTILS_EXPORT void print_i64(int64_t l);
extern "C" MLIR_CRUNNERUTILS_EXPORT void print_f32(float f);
extern "C" MLIR_CRUNNERUTILS_EXPORT void print_f64(double d);
extern "C" MLIR_CRUNNERUTILS_EXPORT void print_open();
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D75769.248902.patch
Type: text/x-patch
Size: 1205 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200307/9451ed82/attachment.bin>
More information about the llvm-commits
mailing list