llvm-project/llvm
David Green bb2d23dcd4 [ARM] Improve detection of fallthough when aligning blocks
We align non-fallthrough branches under Cortex-M at O3 to lead to fewer
instruction fetches. This improves that for the block after a LE or
LETP. These blocks will still have terminating branches until the
LowOverheadLoops pass is run (as they are not handled by analyzeBranch,
the branch is not removed until later), so canFallThrough will return
false. These extra branches will eventually be removed, leaving a
fallthrough, so treat them as such and don't add unnecessary alignments.

Differential Revision: https://reviews.llvm.org/D107810
2021-09-27 11:21:21 +01:00
..
benchmarks
bindings [NFC][C API] Make LLVMSetInstrParamAlignment's index param type LLVMAttributeIndex 2021-09-07 15:13:45 -07:00
cmake [CMake] Pass through CMAKE_READELF to subbuilds 2021-09-24 18:20:30 -07:00
docs [SystemZ][z/OS] Add GOFF Support to the DataLayout 2021-09-24 14:09:01 -04:00
examples [ORC][examples] Export exectuable symbols explicitly in LLJITWithExecutorProcessControl 2021-09-23 21:40:06 +02:00
include [llvm] [ADT] Add a range/iterator-based Split() 2021-09-27 10:43:09 +02:00
lib [ARM] Improve detection of fallthough when aligning blocks 2021-09-27 11:21:21 +01:00
projects
resources
runtimes
test [ARM] Improve detection of fallthough when aligning blocks 2021-09-27 11:21:21 +01:00
tools [ORC] Export process symbols in lli-child-target. 2021-09-26 11:22:49 -07:00
unittests [llvm] [ADT] Add a range/iterator-based Split() 2021-09-27 10:43:09 +02:00
utils [gn build] Port 6498b0e991 2021-09-26 17:25:08 +00:00
.clang-format
.clang-tidy
.gitattributes
.gitignore
CMakeLists.txt [llvm] Disable LLVM_ENABLE_PER_TARGET_RUNTIME_DIR by default on Arm Linux 2021-09-27 09:03:26 +00:00
CODE_OWNERS.TXT
CREDITS.TXT
LICENSE.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.