[PATCH] D30686: [SLP] PR32078: convert scalar operations to vector.
Alexey Bataev via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Dec 24 06:50:21 PST 2019
ABataev added a comment.
In D30686#1795400 <https://reviews.llvm.org/D30686#1795400>, @RKSimon wrote:
> @ABataev Would it be worth resurrecting this or starting again? We have a similar test case in https://bugs.llvm.org/show_bug.cgi?id=44008
>
> current:
>
> %L0 = extractelement <2 x float> %1, i32 0
> %L1 = extractelement <2 x float> %1, i32 1
> %Mul0 = fmul float %L0, 2.000000e+00
> %Mul1 = fmul float %L1, 2.000000e+00
>
>
> better:
>
> %Mul = fmul <2 x float> %1, <2.000000e+00, 2.000000e+00>
> %L0 = extractelement <2 x float> %Mul, i32 0
> %L1 = extractelement <2 x float> %Mul, i32 1
Will try to rework it.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D30686/new/
https://reviews.llvm.org/D30686
More information about the llvm-commits
mailing list