We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 45e95a1 commit 868baf0Copy full SHA for 868baf0
IGC/WrapperLLVM/include/llvmWrapper/IR/Function.h
@@ -60,7 +60,7 @@ inline void splice(llvm::Function* pNewFunc, llvm::Function::iterator it, llvm::
60
#if LLVM_VERSION_MAJOR < 16
61
pNewFunc->getBasicBlockList().splice(it, pOldFunc->getBasicBlockList(), BB);
62
#else
63
- pNewFunc->splice(it, pOldFunc);
+ pNewFunc->splice(it, pOldFunc, BB->getIterator());
64
#endif
65
}
66
0 commit comments