search for: callsitepairs

Displaying 2 results from an estimated 2 matches for "callsitepairs".

Did you mean: callsitepair
2020 May 15
2
Issues with new Attributor (replaceAllUses fails with type mismatch)
...be some issue with attributor, exactly in File Attributor.cpp, Function Attributor::rewriteFunctionSignatures(), Line No: 1600 (approrimate). The llvm source code at above address is as follows: // Eliminate the instructions *after* we visited all of them. for (auto &CallSitePair : CallSitePairs) { CallBase &OldCB = *CallSitePair.first; CallBase &NewCB = *CallSitePair.second; ModifiedFns.insert(OldCB.getFunction()); CGUpdater.replaceCallSite(OldCB, NewCB); OldCB.replaceAllUsesWith(&NewCB); <---------------------------------------- Failing loca...
2020 May 15
2
Issues with new Attributor (replaceAllUses fails with type mismatch)
...utor, exactly in File Attributor.cpp, Function Attributor::rewriteFunctionSignatures(), Line No: 1600 (approrimate). > > The llvm source code at above address is as follows: > > // Eliminate the instructions *after* we visited all of them. > for (auto &CallSitePair : CallSitePairs) { > CallBase &OldCB = *CallSitePair.first; > CallBase &NewCB = *CallSitePair.second; > ModifiedFns.insert(OldCB.getFunction()); > CGUpdater.replaceCallSite(OldCB, NewCB); > OldCB.replaceAllUsesWith(&NewCB); <-----------------------...