Go to file
Cong Hou e6a210f50b [LoopVectorizer] Refine loop vectorizer's register usage calculator by ignoring specific instructions.
(This is the second attempt to check in this patch: REQUIRES: asserts is added
to reg-usage.ll now.)

LoopVectorizationCostModel::calculateRegisterUsage() is used to estimate the
register usage for specific VFs. However, it takes into account many
instructions that won't be vectorized, such as induction variables,
GetElementPtr instruction, etc.. This makes the loop vectorizer too conservative
when choosing VF. In this patch, the induction variables that won't be
vectorized plus GetElementPtr instruction will be added to ValuesToIgnore set
so that their register usage won't be considered any more.


Differential revision: http://reviews.llvm.org/D15177

llvm-svn: 255460
2015-12-13 16:55:46 +00:00
clang [Sema] Add -Wparentheses warnings for '^' in '|' expressions and '&' in '^' expressions to compliment '&' in '|' that is already present. Matches gcc behavior. 2015-12-13 05:41:41 +00:00
clang-tools-extra [clang-tidy] Fix PR25812. 2015-12-12 11:31:25 +00:00
compiler-rt [compiler-rt] [safestack] Enable for aarch64 2015-12-11 17:38:38 +00:00
debuginfo-tests New round of fixes for "Always compile debuginfo-tests for the host triple" 2014-10-18 23:47:59 +00:00
libclc integer: remove explicit casts from _MIN definitions 2015-10-06 19:12:12 +00:00
libcxx Replace cmake check for printf with a check for fopen. 2015-12-10 00:45:18 +00:00
libcxxabi Replace cmake check for printf with a check for fopen. 2015-12-10 00:44:42 +00:00
libunwind Replace cmake check for printf with a check for fopen. 2015-12-10 00:47:08 +00:00
lld [ELF][MIPS] Ignore R_MIPS_JALR relocation for now 2015-12-13 06:49:14 +00:00
lldb Test case for "Fix scope-based lookup when more than one function is found." 2015-12-12 20:44:08 +00:00
llgo [llgo] Force exporting __morestack from llgoi 2015-11-27 04:46:46 +00:00
llvm [LoopVectorizer] Refine loop vectorizer's register usage calculator by ignoring specific instructions. 2015-12-13 16:55:46 +00:00
openmp Hinted lock (OpenMP 4.5 feature) Updates/Fixes Part 3 2015-12-11 22:04:05 +00:00
polly ScopInfo: Add helper function to invalidate a scop 2015-12-12 09:52:26 +00:00