Re: Hashing regs and subregs

2012-01-19 Thread Ian Lance Taylor
"Paulo J. Matos" writes: > 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

Hashing regs and subregs

2012-01-19 Thread Paulo J. Matos
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 a