aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/LoopUtils.cpp
diff options
context:
space:
mode:
authorFlorian Hahn <flo@fhahn.com>2019-07-14 20:12:36 +0000
committerFlorian Hahn <flo@fhahn.com>2019-07-14 20:12:36 +0000
commit9428d95ce7f84844a076fe13219db96a78e3bd44 (patch)
treee447793846bef77b8186d9b38544ed00168491e1 /llvm/lib/Transforms/Utils/LoopUtils.cpp
parent8111807a03c7ecc340fe2d8497b422b09e111fe9 (diff)
downloadllvm-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