在 2024/12/17 10:58, Xi Ruoyao 写道:
On Tue, 2024-12-17 at 10:41 +0800, Jiahao Xu wrote:
/* snip */
+(define_expand "cbranch4"
+ [(set (pc)
+ (if_then_else
+ (match_operator 0 "equality_operator"
+ [(match_operand:ILASX 1 "register_operand")
+ (match_operand:ILA
On Tue, 2024-12-17 at 10:41 +0800, Jiahao Xu wrote:
/* snip */
> +(define_expand "cbranch4"
> + [(set (pc)
> + (if_then_else
> + (match_operator 0 "equality_operator"
> + [(match_operand:ILASX 1 "register_operand")
> + (match_operand:ILASX 2 "reg_or_vector_same_
In order to support vectorization of loops with multiple exits, this
patch adds the implementation of the conditional branch optab for
LoongArch LSX/LASX instructions.
This patch causes the gen-vect-{2,25}.c tests to fail. This is because
the support for vectorizing loops with multiple exits has