Skip to content

Commit 38675f8

Browse files
committed
LLVM10 is going to hide target specific symbols and CUDAnative no longer uses this
1 parent ebce82e commit 38675f8

File tree

1 file changed

+0
-15
lines changed

1 file changed

+0
-15
lines changed

src/llvm-api.cpp

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -189,21 +189,6 @@ extern "C" JL_DLLEXPORT LLVMContextRef LLVMExtraGetValueContext(LLVMValueRef V)
189189
return wrap(&unwrap(V)->getContext());
190190
}
191191

192-
193-
#if JL_LLVM_VERSION < 80000
194-
extern ModulePass *createNVVMReflectPass();
195-
extern "C" JL_DLLEXPORT void LLVMExtraAddNVVMReflectPass(LLVMPassManagerRef PM)
196-
{
197-
unwrap(PM)->add(createNVVMReflectPass());
198-
}
199-
#else
200-
FunctionPass *createNVVMReflectPass(unsigned int SmVersion);
201-
extern "C" JL_DLLEXPORT void LLVMExtraAddNVVMReflectFunctionPass(LLVMPassManagerRef PM, unsigned int SmVersion)
202-
{
203-
unwrap(PM)->add(createNVVMReflectPass(SmVersion));
204-
}
205-
#endif
206-
207192
extern "C" JL_DLLEXPORT void
208193
LLVMExtraAddTargetLibraryInfoByTiple(const char *T, LLVMPassManagerRef PM)
209194
{

0 commit comments

Comments
 (0)