Message ID | 001201d670f1$173ef700$45bce500$@nextmovesoftware.com |
---|---|
State | New |
Headers | show |
Series | [Committed] PR target/96558: Only call ix86_expand_clear with GENERAL_REGS. | expand |
diff --git a/gcc/config/i386/i386.md b/gcc/config/i386/i386.md index f3799ac..9d4e669 100644 --- a/gcc/config/i386/i386.md +++ b/gcc/config/i386/i386.md @@ -18938,7 +18938,7 @@ ;; i.e. prefer "xorl %eax,%eax; test/cmp" over "test/cmp; movl $0, %eax". (define_peephole2 [(set (reg FLAGS_REG) (match_operand 0)) - (set (match_operand:SWI 1 "register_operand") (const_int 0))] + (set (match_operand:SWI 1 "general_reg_operand") (const_int 0))] "peep2_regno_dead_p (0, FLAGS_REG) && !reg_overlap_mentioned_p (operands[1], operands[0])" [(set (match_dup 2) (match_dup 0))]