HomePhabricator

[PGO][PGSO][LV] Fix loop not vectorized issue under profile guided size opts.

Authored by yamauchi on Aug 11 2020, 2:10 PM.

Description

[PGO][PGSO][LV] Fix loop not vectorized issue under profile guided size opts.

D81345 appears to accidentally disables vectorization when explicitly
enabled. As PGSO isn't currently accessible from LoopAccessInfo, revert back to
the vectorization with versioning-for-unit-stride for PGSO.

Differential Revision: https://reviews.llvm.org/D85784