From: Pan Li <pan2...@intel.com>

The previous patch missed the DONE indicator of the vx
combine pattern.  Thus add it back.

gcc/ChangeLog:

        * config/riscv/autovec-opt.md: Add missed DONE
        for vx combine pattern.

Signed-off-by: Pan Li <pan2...@intel.com>
---
 gcc/config/riscv/autovec-opt.md | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/gcc/config/riscv/autovec-opt.md b/gcc/config/riscv/autovec-opt.md
index 65319960bc0..06a62b4f5c5 100644
--- a/gcc/config/riscv/autovec-opt.md
+++ b/gcc/config/riscv/autovec-opt.md
@@ -1694,6 +1694,8 @@ (define_insn_and_split "*<optab>_vx_<mode>"
     riscv_vector::expand_vx_binary_vec_dup_vec (operands[0], operands[2],
                                                operands[1], <CODE>,
                                                <MODE>mode);
+
+    DONE;
   }
   [(set_attr "type" "vialu")])
 
@@ -1711,6 +1713,8 @@ (define_insn_and_split "*<optab>_vx_<mode>"
     riscv_vector::expand_vx_binary_vec_vec_dup (operands[0], operands[1],
                                                operands[2], <CODE>,
                                                <MODE>mode);
+
+    DONE;
   }
   [(set_attr "type" "vialu")])
 
-- 
2.43.0

Reply via email to