This is an archive of the discontinued LLVM Phabricator instance.

[RISCV] Don't enable loop vectorizer interleaving if the V extension isn't enabled.
ClosedPublic

Authored by craig.topper on Jun 6 2021, 11:33 PM.

Details

Summary

This can cause the vectorizer to generate interleaved scalar
code which might be ok for some CPUs, but definitely not all.
Disable it to restore the previous scalar behavior.

Diff Detail