Skip to content

Commit ede92cd

Browse files
mehrdadhylc
authored andcommitted
[LLVM][Hexagon] Revert LLVM header change for version 14 (apache#10006)
* Revert LLVM header change * Trigger
1 parent 6a87997 commit ede92cd

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

cmake/modules/Hexagon.cmake

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -301,9 +301,6 @@ if(USE_HEXAGON_RPC)
301301
${HEXAGON_RPC_OUTPUT} COPYONLY)
302302

303303
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)
307304
endif()
308305

309306
if(USE_HEXAGON_DEVICE STREQUAL "${PICK_SIM}")

src/target/llvm/llvm_common.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@
7171
#include <llvm/Support/FileSystem.h>
7272
#include <llvm/Support/Host.h>
7373
#include <llvm/Support/MemoryBuffer.h>
74-
#if TVM_LLVM_VERSION >= 140 && !defined(TVM_USE_HEXAGON_LLVM)
74+
#if TVM_LLVM_VERSION >= 140
7575
#include <llvm/MC/TargetRegistry.h>
7676
#else
7777
#include <llvm/Support/TargetRegistry.h>

0 commit comments

Comments
 (0)