Displaying 2 results from an estimated 2 matches for "modifiedfn".
Did you mean:
modifiedfns
2020 May 15
2
Issues with new Attributor (replaceAllUses fails with type mismatch)
...o: 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: New->getType() == getType() &&...
2020 May 15
2
Issues with new Attributor (replaceAllUses fails with type mismatch)
...ource 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: New...