File tree Expand file tree Collapse file tree 1 file changed +20
-0
lines changed
llvm/test/Transforms/SLPVectorizer/RISCV Expand file tree Collapse file tree 1 file changed +20
-0
lines changed Original file line number Diff line number Diff line change @@ -94,3 +94,23 @@ entry:
9494 %23 = fcmp ogt <8 x float > zeroinitializer , %19
9595 ret void
9696}
97+
98+ define void @test3 (float %0 ) {
99+ entry:
100+ br label %for.body.lr.ph
101+
102+ for.body.lr.ph:
103+ br i1 false , label %for.cond.cleanup , label %for.body
104+
105+ for.cond.cleanup: ; preds = %for.body, %for.body.lr.ph
106+ %1 = phi <2 x float > [ zeroinitializer , %for.body.lr.ph ], [ %5 , %for.body ]
107+ %2 = phi <2 x float > [ zeroinitializer , %for.body.lr.ph ], [ %6 , %for.body ]
108+ ret void
109+
110+ for.body:
111+ %3 = load <2 x float >, ptr null , align 4
112+ %4 = fcmp olt <2 x float > zeroinitializer , %3
113+ %5 = select <2 x i1 > <i1 true , i1 true >, <2 x float > %3 , <2 x float > zeroinitializer
114+ %6 = select <2 x i1 > %4 , <2 x float > %3 , <2 x float > zeroinitializer
115+ br label %for.cond.cleanup
116+ }
You can’t perform that action at this time.
0 commit comments