search for: reg_bundle

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

2016 Mar 14
2
Inline Spiller spilling multiple duplicate copies
...register for each use to have an independent coloring for each of them. If it is not what you are seeing, I think I would need more information to help you. For instance, the machine representation you have before and after spilling and why this is not appropriate. Cheers, -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); > continu...
2016 Mar 07
2
Inline Spiller spilling multiple duplicate copies
...multiple duplicate copies to the stack, for example, with some regs we get 1 storeRegToStack call, for others we get multiple (2-6+) and then these instructions are never eliminated. Looking at spillAroundUses it looks like multiple duplicate COPYs 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 c...