Skip to content

Commit 49000f3

Browse files
authored
Fix lit tests failure (#10492)
Wrong merge in this commit 100d129. This commit is to fix it.
1 parent 100d129 commit 49000f3

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

llvm/lib/IR/LLVMContextImpl.cpp

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,15 @@
3434
using namespace llvm;
3535

3636
#ifndef INTEL_SYCL_OPAQUEPOINTER_READY
37+
#if ENABLE_OPAQUE_POINTERS
38+
static cl::opt<bool> OpaquePointersCL("opaque-pointers",
39+
cl::desc("Use opaque pointers"),
40+
cl::init(true));
41+
#else // ENABLE_OPAQUE_POINTERS
3742
static cl::opt<bool> OpaquePointersCL("opaque-pointers",
3843
cl::desc("Use opaque pointers"),
3944
cl::init(false));
45+
#endif // ENABLE_OPAQUE_POINTERS
4046
#endif // INTEL_SYCL_OPAQUEPOINTER_READY
4147

4248
LLVMContextImpl::LLVMContextImpl(LLVMContext &C)

0 commit comments

Comments
 (0)