diff mbox series

[07/11] m68k: Update unexpected empty split condition

Message ID d9a1bd5bdadd0e2866b98600b40c7053757a2a1d.1622179420.git.linkw@linux.ibm.com
State New
Headers show
Series Fix up some unexpected empty split conditions | expand

Commit Message

Kewen.Lin June 2, 2021, 5:04 a.m. UTC
gcc/ChangeLog:

	* config/m68k/m68k.md (*zero_extend_inc, *zero_extend_dec,
	*zero_extendsidi2): Fix empty split condition.
---
 gcc/config/m68k/m68k.md | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Comments

Jeff Law June 2, 2021, 5:08 p.m. UTC | #1
On 6/1/2021 11:04 PM, Kewen Lin wrote:
> gcc/ChangeLog:
>
> 	* config/m68k/m68k.md (*zero_extend_inc, *zero_extend_dec,
> 	*zero_extendsidi2): Fix empty split condition.
OK.  Thanks.
jeff
diff mbox series

Patch

diff --git a/gcc/config/m68k/m68k.md b/gcc/config/m68k/m68k.md
index 59a456cd496..82d075e8bf0 100644
--- a/gcc/config/m68k/m68k.md
+++ b/gcc/config/m68k/m68k.md
@@ -1693,7 +1693,7 @@  (define_insn_and_split "*zero_extend_inc"
    GET_MODE_CLASS (GET_MODE (operands[1])) == MODE_INT &&
    GET_MODE_SIZE (GET_MODE (operands[0])) == GET_MODE_SIZE (GET_MODE (operands[1])) * 2"
   "#"
-  ""
+  "&& 1"
   [(set (match_dup 0)
 	(const_int 0))
    (set (match_dup 0)
@@ -1710,7 +1710,7 @@  (define_insn_and_split "*zero_extend_dec"
    GET_MODE_CLASS (GET_MODE (operands[1])) == MODE_INT &&
    GET_MODE_SIZE (GET_MODE (operands[0])) == GET_MODE_SIZE (GET_MODE (operands[1])) * 2"
   "#"
-  ""
+  "&& 1"
   [(set (match_dup 0)
 	(match_dup 1))
    (set (match_dup 0)
@@ -1764,7 +1764,7 @@  (define_insn_and_split "*zero_extendsidi2"
 	(zero_extend:DI (match_operand:SI 1 "nonimmediate_src_operand" "")))]
   "GET_CODE (operands[0]) != MEM || GET_CODE (operands[1]) != MEM"
   "#"
-  ""
+  "&& 1"
   [(set (match_dup 2)
 	(match_dup 1))
    (set (match_dup 3)