Displaying 2 results from an estimated 2 matches for "deaddef".
Did you mean:
deaddefs
2016 Mar 07
2
Inline Spiller spilling multiple duplicate copies
...s are being
generated, why? One for each use?
The reg_bundle holds these multiple copies so that we are iterating over
the same exact COPY instructions multiple times, even though each one hits
the same spot in the function:
if (hoistSpill(OldLI, MI)) {
MI->getOperand(0).setIsDead();
DeadDefs.push_back(MI);
continue;
}
Even when I add a check:
if (MI->getOperand(0)->isDead())
continue;
This never checks to true, on the second, third, fourth, etc duplicate.
Not sure what I'm missing? Can someone give me a brief description of why
these multiple COPYs are being wri...
2016 Mar 14
2
Inline Spiller spilling multiple duplicate copies
...eers,
-Quentin
>
> The reg_bundle holds these multiple copies so that we are iterating over the same exact COPY instructions multiple times, even though each one hits the same spot in the function:
>
> if (hoistSpill(OldLI, MI)) {
> MI->getOperand(0).setIsDead();
> DeadDefs.push_back(MI);
> continue;
> }
>
> Even when I add a check:
>
> if (MI->getOperand(0)->isDead())
> continue;
>
> This never checks to true, on the second, third, fourth, etc duplicate.
>
> Not sure what I'm missing? Can someone give me a brie...