http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46585

--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> 2010-11-24 
14:29:07 UTC ---
+  nop_pattern = gen_rtx_CONST_INT (VOIDmode, -1);

You could just use
  nop_pattern = constm1_rtx;
or just #define nop_pattern constm1_rtx

But, when you change nop_pattern, then INSN_NOP_P () won't match normal nops,
just your new ones.  Is that desirable?

Perhaps you want instead to define INSN_NOP_P as CONST_INT_P (PATTERN (X))
(at least, where you want to match any nops, including your special ones, where
you want to match just your special ones, PATTERN (X) == nop_pattern is
correct.

Reply via email to