This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Must mode of set and REG_EQUIV note match?
- From: Zdenek Dvorak <rakdver at atrey dot karlin dot mff dot cuni dot cz>
- To: gcc at gcc dot gnu dot org
- Date: Tue, 13 Sep 2005 14:44:29 +0200
- Subject: Must mode of set and REG_EQUIV note match?
Hello,
I have the following insn:
(insn 522 521 523 87 (set (reg:SI 308)
(reg:SI 0 ax)) 40 {*movsi_1} (nil)
(insn_list:REG_RETVAL 520 (expr_list:REG_EQUAL (parity:DI (reg:DI 248 [ D.1874 ]))
(nil))))
Is this correct? I have a piece of code that breaks if mode of the
assigned register is not equal to mode of the expression in REG_EQUAL
note, and I wonder whether I should be fixing this piece of code, or the
code that sets the REG_EQUAL note on this insn.
Zdenek