We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6a87997 commit ede92cdCopy full SHA for ede92cd
cmake/modules/Hexagon.cmake
@@ -301,9 +301,6 @@ if(USE_HEXAGON_RPC)
301
${HEXAGON_RPC_OUTPUT} COPYONLY)
302
303
set_directory_properties(PROPERTIES ADDITIONAL_MAKE_CLEAN_FILES "${HEXAGON_RPC_OUTPUT}")
304
-
305
- # Used in `src/target/llvm/llvm_common.h`
306
- add_definitions(-DTVM_USE_HEXAGON_LLVM)
307
endif()
308
309
if(USE_HEXAGON_DEVICE STREQUAL "${PICK_SIM}")
src/target/llvm/llvm_common.h
@@ -71,7 +71,7 @@
71
#include <llvm/Support/FileSystem.h>
72
#include <llvm/Support/Host.h>
73
#include <llvm/Support/MemoryBuffer.h>
74
-#if TVM_LLVM_VERSION >= 140 && !defined(TVM_USE_HEXAGON_LLVM)
+#if TVM_LLVM_VERSION >= 140
75
#include <llvm/MC/TargetRegistry.h>
76
#else
77
#include <llvm/Support/TargetRegistry.h>
0 commit comments