aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorAyal Zaks <ayal.zaks@intel.com>2020-04-25 03:44:38 +0300
committerAyal Zaks <ayal.zaks@intel.com>2020-04-26 20:13:10 +0300
commita3c964a278b434a587f447dac144bb7d92227dab (patch)
treed65beee4793c4863884d63dc78e6ee0da2c2015b /clang/lib/Frontend/CompilerInvocation.cpp
parent2f3e86b31818222a0ab87c4114215e86b89c9dfc (diff)
downloadllvm-a3c964a278b434a587f447dac144bb7d92227dab.zip
llvm-a3c964a278b434a587f447dac144bb7d92227dab.tar.gz
llvm-a3c964a278b434a587f447dac144bb7d92227dab.tar.bz2
[LV] Fix recording of BranchTakenCount for FoldTail
When folding tail, branch taken count is computed during initial VPlan execution and recorded to be used by the compare computing the loop's mask. This recording should directly set the State, instead of reusing Value2VPValue mapping which serves original Values present prior to vectorization. The branch taken count may be a constant Value, which may be used elsewhere in the loop; trying to employ Value2VPValue for both leads to the issue reported in https://reviews.llvm.org/D76992#inline-721028 Differential Revision: https://reviews.llvm.org/D78847
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions