public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r12-1199] cris: Update unexpected empty split condition
@ 2021-06-03 22:32 Hans-Peter Nilsson
  0 siblings, 0 replies; only message in thread
From: Hans-Peter Nilsson @ 2021-06-03 22:32 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:47d25a0314d8f28d399cd93f673df5886ca81d78

commit r12-1199-g47d25a0314d8f28d399cd93f673df5886ca81d78
Author: Kewen Lin <linkw@linux.ibm.com>
Date:   Wed Jun 2 07:04:54 2021 +0200

    cris: Update unexpected empty split condition
    
    gcc/ChangeLog:
    
            * config/cris/cris.md (*addi_reload): Fix empty split condition.

Diff:
---
 gcc/config/cris/cris.md | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gcc/config/cris/cris.md b/gcc/config/cris/cris.md
index 7de0ec63fcf..d5a3c703a83 100644
--- a/gcc/config/cris/cris.md
+++ b/gcc/config/cris/cris.md
@@ -1311,7 +1311,7 @@
    && (INTVAL (operands[3]) == 2 || INTVAL (operands[3]) == 4)
    && (reload_in_progress || reload_completed)"
   "#"
-  ""
+  "&& 1"
   [(set (match_dup 0)
 	(plus:SI (ashift:SI (match_dup 2) (match_dup 3)) (match_dup 1)))]
   "operands[3] = operands[3] == const2_rtx ? const1_rtx : const2_rtx;")


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-06-03 22:32 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-03 22:32 [gcc r12-1199] cris: Update unexpected empty split condition Hans-Peter Nilsson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).