[llvm-dev] Vector evolution?

Alexandre Bique via llvm-dev llvm-dev at lists.llvm.org
Tue Sep 1 08:23:24 PDT 2020


On Tue, Sep 1, 2020 at 5:10 PM Florian Hahn <florian_hahn at apple.com> wrote:
> The loop vectorizer does not really handle loops that already operate on vectors, so that is why the loop using v4f32 does not get widened.
>
> Arguably the user explicitly asked for 4xfloat vectors in the v4f32 version, so that is what gets generated.

In my case I have tons of legacy code written for SSE2 and if the
compiler can make a better and correct version of it, why not?

> (Those kinds of issues are better to discuss on https://bugs.llvm.org/ IMO, because it is easier to keep track of the progress on the issue).

That is noted, but I can't think of it as a bug unless I understand the issue.

Thank you Florian,
-- 
Alexandre BIQUE


More information about the llvm-dev mailing list