2022-05-04 20:59:38 +08:00
|
|
|
#ifndef __NVVM2x86_REMOVE_CUDABUILTIN__
|
|
|
|
#define __NVVM2x86_REMOVE_CUDABUILTIN__
|
2022-01-12 00:01:42 +08:00
|
|
|
|
|
|
|
#include "llvm/IR/Module.h"
|
|
|
|
/*
|
|
|
|
* Change to i8* bitcast (i8* (i8*)* @_Z9vecPKiS0_Pii_wrapper to i8*)
|
|
|
|
* Original: i8* bitcast (void (i32*, i32*, i32*, i32)* @_Z9vecPKiS0_Pii to i8*)
|
|
|
|
*/
|
2022-05-04 20:59:38 +08:00
|
|
|
void RemoveCudaBuiltin(llvm::Module *M);
|
2022-01-12 00:01:42 +08:00
|
|
|
|
|
|
|
#endif
|