Displaying 2 results from an estimated 2 matches for "newcb".
Did you mean:
newbb
2020 May 15
2
Issues with new Attributor (replaceAllUses fails with type mismatch)
...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 location
OldCB.eraseFromParent();
}
Failure symptom:
Assertion failed:...
2020 May 15
2
Issues with new Attributor (replaceAllUses fails with type mismatch)
...: 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 location
> OldCB.eraseFromParent();
> }
>
&...