HomePhabricator

[Clang] Pragma vectorize_width() implies vectorize(enable)

Authored by SjoerdMeijer on Sep 17 2019, 1:43 AM.

Description

[Clang] Pragma vectorize_width() implies vectorize(enable)

Specifying the vectorization width was supposed to implicitly enable
vectorization, except that it wasn't really doing this. It was only
setting the vectorize.width metadata, but not vectorize.enable.

This should fix PR27643.

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

llvm-svn: 372082