[Mlir-commits] [mlir] [mlir][XeVM] Use libocloc API for binary generation. (PR #188353)
Artem Kroviakov
llvmlistbot at llvm.org
Fri Apr 10 01:45:57 PDT 2026
================
@@ -39,16 +39,102 @@
#include "llvm/Support/raw_ostream.h"
#include "llvm/Target/TargetMachine.h"
-#if MLIR_XEVM_OCLOC_AVAILABLE
-#include <ocloc_api.h>
-#endif // MLIR_XEVM_OCLOC_AVAILABLE
-
#include <cstdint>
#include <cstdlib>
using namespace mlir;
using namespace mlir::xevm;
+#if MLIR_XEVM_OCLOC_LIB_AVAILABLE
----------------
akroviakov wrote:
The header file `mlir/Target/LLVM/XeVM/Target.h` seems like a better place for the declarations and the API explanation. Otherwise, looks good, thanks!
https://github.com/llvm/llvm-project/pull/188353
More information about the Mlir-commits
mailing list