Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions compiler/src/iree/compiler/API/Internal/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ iree_compiler_cc_library(
"//compiler/src/iree/compiler/Tools:version",
"//compiler/src/iree/compiler/Utils",
"@llvm-project//llvm:Support",
"@llvm-project//llvm:TargetParser",
"@llvm-project//mlir:BuiltinToLLVMIRTranslation",
"@llvm-project//mlir:BytecodeWriter",
"@llvm-project//mlir:CAPIIR",
Expand Down
1 change: 1 addition & 0 deletions compiler/src/iree/compiler/API/Internal/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ iree_cc_library(
"Diagnostics.cpp"
DEPS
LLVMSupport
LLVMTargetParser
MLIRBuiltinToLLVMIRTranslation
MLIRBytecodeWriter
MLIRCAPIIR
Expand Down
5 changes: 3 additions & 2 deletions compiler/src/iree/compiler/API/Internal/CompilerDriver.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@
#include "llvm/Support/SourceMgr.h"
#include "llvm/Support/ThreadPool.h"
#include "llvm/Support/ToolOutputFile.h"
#include "llvm/TargetParser/Host.h"
#include "mlir/Bytecode/BytecodeWriter.h"
#include "mlir/CAPI/IR.h"
#include "mlir/CAPI/Wrap.h"
Expand Down Expand Up @@ -1161,11 +1162,11 @@ void llvmVersionPrinter(llvm::raw_ostream &os) {
os << " with assertions";
#endif
#if LLVM_VERSION_PRINTER_SHOW_HOST_TARGET_INFO
std::string CPU = std::string(sys::getHostCPUName());
std::string CPU = std::string(llvm::sys::getHostCPUName());
if (CPU == "generic")
CPU = "(unknown)";
os << ".\n"
<< " Default target: " << sys::getDefaultTargetTriple() << '\n'
<< " Default target: " << llvm::sys::getDefaultTargetTriple() << '\n'
<< " Host CPU: " << CPU;
#endif
os << '\n';
Expand Down
2 changes: 1 addition & 1 deletion third_party/llvm-project
Submodule llvm-project updated 1235 files
Loading