diff --git a/cmake/modules/Hexagon.cmake b/cmake/modules/Hexagon.cmake index d982601fc1bb..ab6f1d2ea52a 100644 --- a/cmake/modules/Hexagon.cmake +++ b/cmake/modules/Hexagon.cmake @@ -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}") diff --git a/src/target/llvm/llvm_common.h b/src/target/llvm/llvm_common.h index 485fc9f67dbd..556f05d2e33a 100644 --- a/src/target/llvm/llvm_common.h +++ b/src/target/llvm/llvm_common.h @@ -71,7 +71,7 @@ #include #include #include -#if TVM_LLVM_VERSION >= 140 && !defined(TVM_USE_HEXAGON_LLVM) +#if TVM_LLVM_VERSION >= 140 #include #else #include