[gcc r12-1238] sh: Update unexpected empty split condition
Kewen Lin
linkw@gcc.gnu.org
Sat Jun 5 11:44:54 GMT 2021
https://gcc.gnu.org/g:081c9dfb67a0d2e7425ddb5420ada588026f92ca
commit r12-1238-g081c9dfb67a0d2e7425ddb5420ada588026f92ca
Author: Kewen Lin <linkw@linux.ibm.com>
Date: Fri May 28 00:21:14 2021 -0500
sh: Update unexpected empty split condition
gcc/ChangeLog:
* config/sh/sh.md (doloop_end_split): Fix empty split condition.
Diff:
---
gcc/config/sh/sh.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gcc/config/sh/sh.md b/gcc/config/sh/sh.md
index e3af9ae21c1..93ee7c9a7de 100644
--- a/gcc/config/sh/sh.md
+++ b/gcc/config/sh/sh.md
@@ -6424,7 +6424,7 @@
(clobber (reg:SI T_REG))]
"TARGET_SH2"
"#"
- ""
+ "&& 1"
[(parallel [(set (reg:SI T_REG)
(eq:SI (match_dup 2) (const_int 1)))
(set (match_dup 0) (plus:SI (match_dup 2) (const_int -1)))])
More information about the Gcc-cvs
mailing list