]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
RISC-V: Add missed DONE for vx combine pattern [NFC]
authorPan Li <pan2.li@intel.com>
Sat, 16 Aug 2025 08:01:40 +0000 (16:01 +0800)
committerPan Li <pan2.li@intel.com>
Sun, 17 Aug 2025 00:07:15 +0000 (08:07 +0800)
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.li@intel.com>
gcc/config/riscv/autovec-opt.md

index 4559d25ff732cc443097bbcc59fd573f5e1fde4d..f1e592b46b52965572f3d1012bb12093fcc57e8f 100644 (file)
     riscv_vector::expand_vx_binary_vec_dup_vec (operands[0], operands[2],
                                                operands[1], <CODE>,
                                                <MODE>mode);
+
+    DONE;
   }
   [(set_attr "type" "vialu")])
 
     riscv_vector::expand_vx_binary_vec_vec_dup (operands[0], operands[1],
                                                operands[2], <CODE>,
                                                <MODE>mode);
+
+    DONE;
   }
   [(set_attr "type" "vialu")])