diff mbox series

[03/11] arm: Update unexpected empty split condition

Message ID c50923e8754476b0801ed128d15a532848d18b59.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/arm/vfp.md (no_literal_pool_df_immediate,
	no_literal_pool_sf_immediate): Fix empty split condition.
---
 gcc/config/arm/vfp.md | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Comments

Kyrylo Tkachov June 2, 2021, 9:02 a.m. UTC | #1
> -----Original Message-----
> From: Kewen Lin <linkw@linux.ibm.com>
> Sent: 02 June 2021 06:05
> To: gcc-patches@gcc.gnu.org
> Cc: Kewen Lin <linkw@linux.ibm.com>; nickc@redhat.com; Richard
> Earnshaw <Richard.Earnshaw@arm.com>; Ramana Radhakrishnan
> <Ramana.Radhakrishnan@arm.com>; Kyrylo Tkachov
> <Kyrylo.Tkachov@arm.com>
> Subject: [PATCH 03/11] arm: Update unexpected empty split condition
> 
> gcc/ChangeLog:
> 
> 	* config/arm/vfp.md (no_literal_pool_df_immediate,
> 	no_literal_pool_sf_immediate): Fix empty split condition.

Ok, thanks for doing this.
Kyrill

> ---
>  gcc/config/arm/vfp.md | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/gcc/config/arm/vfp.md b/gcc/config/arm/vfp.md
> index f97af92716b..55b6c1ac585 100644
> --- a/gcc/config/arm/vfp.md
> +++ b/gcc/config/arm/vfp.md
> @@ -2129,7 +2129,7 @@ (define_insn_and_split
> "no_literal_pool_df_immediate"
>     && !arm_const_double_rtx (operands[1])
>     && !(TARGET_VFP_DOUBLE && vfp3_const_double_rtx (operands[1]))"
>    "#"
> -  ""
> +  "&& 1"
>    [(const_int 0)]
>  {
>    long buf[2];
> @@ -2154,7 +2154,7 @@ (define_insn_and_split
> "no_literal_pool_sf_immediate"
>     && TARGET_VFP_BASE
>     && !vfp3_const_double_rtx (operands[1])"
>    "#"
> -  ""
> +  "&& 1"
>    [(const_int 0)]
>  {
>    long buf;
> --
> 2.17.1
diff mbox series

Patch

diff --git a/gcc/config/arm/vfp.md b/gcc/config/arm/vfp.md
index f97af92716b..55b6c1ac585 100644
--- a/gcc/config/arm/vfp.md
+++ b/gcc/config/arm/vfp.md
@@ -2129,7 +2129,7 @@  (define_insn_and_split "no_literal_pool_df_immediate"
    && !arm_const_double_rtx (operands[1])
    && !(TARGET_VFP_DOUBLE && vfp3_const_double_rtx (operands[1]))"
   "#"
-  ""
+  "&& 1"
   [(const_int 0)]
 {
   long buf[2];
@@ -2154,7 +2154,7 @@  (define_insn_and_split "no_literal_pool_sf_immediate"
    && TARGET_VFP_BASE
    && !vfp3_const_double_rtx (operands[1])"
   "#"
-  ""
+  "&& 1"
   [(const_int 0)]
 {
   long buf;