[LLVMdev] Possible missed optimization?

Borja Ferrer borja.ferav at gmail.com
Sat Mar 26 13:04:30 PDT 2011


Hello Jakob, thanks for the reply. The three regclasses involved here are
all subsets from each other and aren't disjoint. These are the basic
descriptions of the regclasses involved to show what i mean:

DREGS: R31R30, R29R28 down to R1R0         (16 regs)
DLDREGS: R31R30, R29R28 down to R17R16  (8 regs)
PTRREGS: R31R30, R29R28, R27R26             (3 regs)

All classes intersect each other giving as a result the smaller class:
DREGSxDLDREGS=DLDREGS / DLDREGSxPTRREGS=PTRREGS, etc. That's why i think the
coalescer should work since the regclasses overlap completely.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20110326/16792fdd/attachment.html>


More information about the llvm-dev mailing list