llvm-project/llvm
Max Kazantsev 7b83a1438f [GuardWidening] Improve analysis of potential widening into hotter block, try 2
The initial version was reverted because it looped infinitely if the likely successor
isn't properly dominated by the predecessor. In practice it means that we went up the
CFG through backedge and looped infinitely.

I also added some paranoid assertion checks to make sure that every other invariant
holds. I also found a hypothetical situation when we may go past the dominated block
while following the likely successors (it means that in fact the dominated block is
dynamically not reachable from dominating block) and explicitly prohibited this, though
I don't have a motivating test showing that it's a real problem.

https://reviews.llvm.org/D146276
2023-03-22 15:15:26 +07:00
..
benchmarks
bindings [ConstExpr] Remove select constant expression 2023-03-16 10:32:08 +01:00
cmake [cmake] Quote args when generating /libpath option specifying runtime dir for link/lld-link 2023-03-10 14:12:46 -08:00
docs [LLDB] Show sub type of signals when debugging a core file 2023-03-21 09:10:09 +00:00
examples [Passes] Remove some legacy passes 2023-03-10 17:17:00 -08:00
include [MCContext] Use const Twine & in symbol creation methods. NFC 2023-03-21 23:13:59 -07:00
lib [GuardWidening] Improve analysis of potential widening into hotter block, try 2 2023-03-22 15:15:26 +07:00
projects
resources
runtimes [bootstrap build] Add libc-hdrgen as a build dep for libc bootstrap build. 2023-02-06 05:16:27 +00:00
test [GuardWidening] Improve analysis of potential widening into hotter block, try 2 2023-03-22 15:15:26 +07:00
tools [llvm-jitlink] Fix typo in description of llvm-jitlink's -alias option. 2023-03-20 20:12:22 -07:00
unittests [llvm][support] Fix ScopedPrinterTest on AIX 2023-03-21 17:36:20 +00:00
utils [gn build] Port da8260a9b1 2023-03-21 12:38:15 +00:00
.clang-format
.clang-tidy NFC: .clang-tidy: Inherit configs from parents to improve maintainability 2021-06-08 08:25:59 -07:00
.gitattributes [Test] Set gitattributes for line endings in tapi inputs 2023-02-21 16:07:08 -08:00
.gitignore
CMakeLists.txt Revert "Reland "[CMake] Bumps minimum version to 3.20.0."" 2023-03-18 20:32:43 +01:00
CODE_OWNERS.TXT [Xtensa 1/10] Recognize Xtensa in triple parsing code 2022-12-26 13:30:51 +01:00
configure
CREDITS.TXT
LICENSE.TXT
llvm.spec.in
README.txt
RELEASE_TESTERS.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.