On 2006-02-22, at 05:41, Ian Lance Taylor wrote:

Marcin Dalecki <[EMAIL PROTECTED]> writes:

Looking at the regor.c code I came across the function
try_merge_delay_insns().
There around the line 1488 we will find the following code:

                merged_insns = gen_rtx_INSN_LIST (SImode, dtrial,
                                                  merged_insns);


Is this analysis correct?

No.

An INSN_LIST which goes into the REG_NOTES field must use a register
note such as REG_DEP_TRUE in the mode field.  But merged_insns does
not go into the REG_NOTES field.  It is only used within the function
try_merge_delay_insns.  Look at the loop at the end of the insns to
see how the mode is tested.  The value of SImode is indeed arbitrary.
It can be anything distinct from VOIDmode.

Thank your for explaining. However in this case just reusing the following
enumeration value:

REG_SAVE_NOTE

seems to be more pleasant?

Marcin Dalecki


Reply via email to