Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
3 changes: 0 additions & 3 deletions cmake/modules/Hexagon.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -301,9 +301,6 @@ if(USE_HEXAGON_RPC)
${HEXAGON_RPC_OUTPUT} COPYONLY)

set_directory_properties(PROPERTIES ADDITIONAL_MAKE_CLEAN_FILES "${HEXAGON_RPC_OUTPUT}")

# Used in `src/target/llvm/llvm_common.h`
add_definitions(-DTVM_USE_HEXAGON_LLVM)
endif()

if(USE_HEXAGON_DEVICE STREQUAL "${PICK_SIM}")
Expand Down
2 changes: 1 addition & 1 deletion src/target/llvm/llvm_common.h
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@
#include <llvm/Support/FileSystem.h>
#include <llvm/Support/Host.h>
#include <llvm/Support/MemoryBuffer.h>
#if TVM_LLVM_VERSION >= 140 && !defined(TVM_USE_HEXAGON_LLVM)
#if TVM_LLVM_VERSION >= 140
#include <llvm/MC/TargetRegistry.h>
#else
#include <llvm/Support/TargetRegistry.h>
Expand Down