[llvm-commits] [patch] Mostly mechanical removal of getPhysicalRegisterRegClass.patch

Rafael Espindola espindola at google.com
Wed Jun 9 21:27:27 PDT 2010


The attached patch is a bit ugly and evil, but is mostly a test that
we can remove getPhysicalRegisterRegClass. It might actually be the
lesser of two evils :-)

The part that is ugly in it is that in some cases we compare register
classes, but the register itself is not a hard register. In such cases
we cannot use RC.contains(foo). That is why I added hasSubClassOrIs.

I am mostly looking for suggestions on how to clean this up so that it
can be committed.

Cheers,
-- 
Rafael Ávila de Espíndola
-------------- next part --------------
A non-text attachment was scrubbed...
Name: getPhysicalRegisterRegClass.patch
Type: application/octet-stream
Size: 31756 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20100610/721feb46/attachment.obj>


More information about the llvm-commits mailing list