We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3b60f89 commit 483aabcCopy full SHA for 483aabc
1 file changed
modules/backend/pass/TargetPass.cpp
@@ -13,10 +13,6 @@
13
bool TargetPass::runOnFunction(Function& F) {
14
llvm::errs() << "Running TargetPass with: " << this->targetFunctionName;
15
16
- // We need to have the definition of the function
17
- F.getParent()->getOrInsertFunction(
18
- this->targetFunctionName, Type::getVoidTy(F.getContext()));
19
-
20
this->targetFunctionMap2Check = F.getParent()->getOrInsertFunction(
21
"map2check_target_function", Type::getVoidTy(F.getContext()),
22
Type::getInt8PtrTy(F.getContext()), Type::getInt32Ty(F.getContext()),
0 commit comments