This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Hashing regs and subregs
- From: "Paulo J. Matos" <paulo at matos-sorge dot com>
- To: gcc at gcc dot gnu dot org
- Date: Thu, 19 Jan 2012 12:48:11 +0000
- Subject: Hashing regs and subregs
Hi,
I am developing a new pass and looking for suggestions on the best way
to record in a data structure which regs and subregs I have seen and
which mode they are in through the insn chain so I know if I find
duplicates.
Any suggestions on the best way to do this?
Are there any rtx hashes already implemented somewhere?
Cheers,
--
PMatos