[all-commits] [llvm/llvm-project] af7e15: [LV] Vectorizer should adjust trip count in profil...
ebrevnov via All-commits
all-commits at lists.llvm.org
Mon Jan 20 03:36:39 PST 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: af7e1588727c691ae07e286c94dbcbf31060e876
https://github.com/llvm/llvm-project/commit/af7e1588727c691ae07e286c94dbcbf31060e876
Author: Evgeniy Brevnov <evgueni.brevnov at gmail.com>
Date: 2020-01-20 (Mon, 20 Jan 2020)
Changed paths:
M llvm/include/llvm/Transforms/Utils/LoopUtils.h
M llvm/lib/Transforms/Utils/LoopUtils.cpp
M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
A llvm/test/Transforms/LoopVectorize/check-prof-info.ll
M llvm/test/Transforms/LoopVectorize/tripcount.ll
Log Message:
-----------
[LV] Vectorizer should adjust trip count in profile information
Summary: Vectorized loop processes VFxUF number of elements in one iteration thus total number of iterations decreases proportionally. In addition epilog loop may not have more than VFxUF - 1 iterations. This patch updates profile information accordingly.
Reviewers: hsaito, Ayal, fhahn, reames, silvas, dcaballe, SjoerdMeijer, mkuper, DaniilSuchkov
Reviewed By: Ayal, DaniilSuchkov
Subscribers: fedor.sergeev, hiraditya, rkruppe, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D67905
More information about the All-commits
mailing list