Skip to content

Commit 7d5e641

Browse files
Build Automationigcbot
authored andcommitted
Merging LLVM compatibility patches
Supporting LLVM trunk revision 476047bf8e720f3dc359cf75d1241e13f8ba2350
1 parent 625aef7 commit 7d5e641

File tree

4 files changed

+2
-38
lines changed

4 files changed

+2
-38
lines changed

IGC/WrapperLLVM/include/llvmWrapper/IR/LLVMContext.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ namespace IGCLLVM
1919
inline void setOpaquePointers(llvm::LLVMContext* Ctx, const bool Enable)
2020
{
2121
IGC_ASSERT_MESSAGE(Ctx, "Null LLVMContext pointer!");
22-
#if (LLVM_VERSION_MAJOR == 14) || defined(IGC_LLVM_TRUNK_REVISION)
22+
#if LLVM_VERSION_MAJOR == 14
2323
if (Enable)
2424
Ctx->enableOpaquePointers();
2525
#elif LLVM_VERSION_MAJOR >= 15
@@ -35,7 +35,7 @@ namespace IGC
3535
IGC_ASSERT_MESSAGE(Ctx, "Null LLVMContext pointer!");
3636
#if LLVM_VERSION_MAJOR < 14
3737
return false;
38-
#elif (LLVM_VERSION_MAJOR == 14) || defined(IGC_LLVM_TRUNK_REVISION)
38+
#elif LLVM_VERSION_MAJOR == 14
3939
// With LLVM 14, we invoke a proper check for the -opaque-pointers CL
4040
// option. Regardless of whether it's false by LLVM 14's default, or
4141
// through an explicit setting, we deem it acceptable for IGC to

external/llvm/trunk/patches_external/custom_intrinsics_index_check.patch

Lines changed: 0 additions & 36 deletions
This file was deleted.

0 commit comments

Comments
 (0)