[09/11] or1k: Update unexpected empty split condition

Message ID a9e454d28f1ea68fb65e0444d305cf04adc88135.1622179420.git.linkw@linux.ibm.com
State New
Headers show
Series
  • Fix up some unexpected empty split conditions
Related show

Commit Message

Feng Xue OS via Gcc-patches June 2, 2021, 5:04 a.m.
gcc/ChangeLog:

	* config/or1k/or1k.md (*movdi): Fix empty split condition.
---
 gcc/config/or1k/or1k.md | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

-- 
2.17.1

Patch

diff --git a/gcc/config/or1k/or1k.md b/gcc/config/or1k/or1k.md
index eb94efba0e4..495b3e277ba 100644
--- a/gcc/config/or1k/or1k.md
+++ b/gcc/config/or1k/or1k.md
@@ -351,7 +351,7 @@  (define_insn_and_split "*movdi"
   "register_operand (operands[0], DImode)
    || reg_or_0_operand (operands[1], DImode)"
   "#"
-  ""
+  "&& 1"
   [(const_int 0)]
 {
   rtx l0 = operand_subword (operands[0], 0, 0, DImode);