llvm-project/llvm
Sander de Smalen b873aba394 [LoopVectorizer] NFCI: Calculate register usage based on TLI.getTypeLegalizationCost.
This is more accurate than dividing the bitwidth based on the element count by the
maximum register size, as it can just reuse whatever has been calculated for
legalization of these types.

This change is also necessary when calculating register usage for scalable vectors, where
the legalization of these types cannot be done based on the widest register size, because
that does not take the 'vscale' component into account.

Reviewed By: SjoerdMeijer

Differential Revision: https://reviews.llvm.org/D91059
2020-11-11 10:18:50 +00:00
..
benchmarks
bindings [IR] add fn attr for no_stack_protector; prevent inlining on mismatch 2020-10-23 11:55:39 -07:00
cmake [CMake][ExecutionEngine] add HAVE_(DE)REGISTER_FRAME as a config.h macros 2020-11-10 13:09:44 -05:00
docs [docs] link new support policy from developer policy 2020-11-10 19:40:57 +00:00
examples [ORC] Break up C-API header Orc.h, and add JITEventListener support. 2020-10-19 01:59:04 -07:00
include [LoopVectorizer] NFCI: Calculate register usage based on TLI.getTypeLegalizationCost. 2020-11-11 10:18:50 +00:00
lib [LoopVectorizer] NFCI: Calculate register usage based on TLI.getTypeLegalizationCost. 2020-11-11 10:18:50 +00:00
projects
resources
runtimes [runtimes] Revert the libc++ __config_site change 2020-10-23 09:41:48 -04:00
test [SelectionDAG] fminnum should be a binary operator 2020-11-11 03:41:40 -05:00
tools [llvm-cov][NFC] Fix typo in format comment 2020-11-09 14:47:39 -08:00
unittests [OMPIRBuilder] Start 'Create' methods with lower case. NFC. 2020-11-09 19:35:11 -06:00
utils [NFC] First test commit 2020-11-11 10:20:11 +01:00
.clang-format
.clang-tidy
.gitattributes
.gitignore
CMakeLists.txt Revert "[llvm] CMake: Force MSVC to read code as UTF-8" 2020-11-09 23:04:16 +01:00
CODE_OWNERS.TXT Update email addresses in CODE_OWNERS. 2020-10-26 18:51:04 -07:00
CREDITS.TXT
LICENSE.TXT
LLVMBuild.txt
README.txt
RELEASE_TESTERS.TXT
configure
llvm.spec.in

README.txt

The LLVM Compiler Infrastructure
================================

This directory and its subdirectories contain source code for LLVM,
a toolkit for the construction of highly optimized compilers,
optimizers, and runtime environments.

LLVM is open source software. You may freely distribute it under the terms of
the license agreement found in LICENSE.txt.

Please see the documentation provided in docs/ for further
assistance with LLVM, and in particular docs/GettingStarted.rst for getting
started with LLVM and docs/README.txt for an overview of LLVM's
documentation setup.

If you are writing a package for LLVM, see docs/Packaging.rst for our
suggestions.