diff options
author | Florian Hahn <flo@fhahn.com> | 2019-07-14 20:12:36 +0000 |
---|---|---|
committer | Florian Hahn <flo@fhahn.com> | 2019-07-14 20:12:36 +0000 |
commit | 9428d95ce7f84844a076fe13219db96a78e3bd44 (patch) | |
tree | e447793846bef77b8186d9b38544ed00168491e1 /llvm/lib/Transforms/Utils/LoopUtils.cpp | |
parent | 8111807a03c7ecc340fe2d8497b422b09e111fe9 (diff) | |
download | llvm-9428d95ce7f84844a076fe13219db96a78e3bd44.zip llvm-9428d95ce7f84844a076fe13219db96a78e3bd44.tar.gz llvm-9428d95ce7f84844a076fe13219db96a78e3bd44.tar.bz2 |
[LV] Exclude loop-invariant inputs from scalar cost computation.
Loop invariant operands do not need to be scalarized, as we are using
the values outside the loop. We should ignore them when computing the
scalarization overhead.
Fixes PR41294
Reviewers: hsaito, rengolin, dcaballe, Ayal
Reviewed By: Ayal
Differential Revision: https://reviews.llvm.org/D59995
llvm-svn: 366030
Diffstat (limited to 'llvm/lib/Transforms/Utils/LoopUtils.cpp')
0 files changed, 0 insertions, 0 deletions