HomePhabricator

[LV] Ignore the cost of values that will not appear in the vectorized loop

Authored by dorit on Dec 12 2017, 12:57 AM.

Description

[LV] Ignore the cost of values that will not appear in the vectorized loop

VecValuesToIgnore holds values that will not appear in the vectorized loop.
We should therefore ignore their cost when VF > 1.

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

llvm-svn: 320463