llvm-project/llvm
Jay Foad edfdce2627 [PHIElimination] Fix accounting for undef uses when updating LiveVariables
PHI elimination updates LiveVariables info as described here:

    // We only need to update the LiveVariables kill of SrcReg if this was the
    // last PHI use of SrcReg to be lowered on this CFG edge and it is not live
    // out of the predecessor. We can also ignore undef sources.

Unfortunately if the last use also happened to be an undef use then it
would fail to update the LiveVariables at all. Fix this by not counting
undef uses in the VRegPHIUse map.

Thanks to Mikael Holmén for the test case!

Differential Revision: https://reviews.llvm.org/D111552
2021-10-11 20:22:47 +01:00
..
benchmarks
bindings
cmake Add .cmt and .cmti files for OCaml bindings 2021-10-05 19:36:12 +05:30
docs [docs] Mention in release notes that we now support 2^32 alignment 2021-10-11 10:23:15 -07:00
examples [examples] Fix LLJITWithRemoteDebugging example after f341161689. 2021-10-10 20:25:44 -07:00
include [Orc] Handle hangup messages in SimpleRemoteEPC 2021-10-11 21:04:56 +02:00
lib [PHIElimination] Fix accounting for undef uses when updating LiveVariables 2021-10-11 20:22:47 +01:00
projects
resources
runtimes [runtimes] Ensure required deps for tests targets are actually built 2021-09-29 14:41:33 -07:00
test [PHIElimination] Fix accounting for undef uses when updating LiveVariables 2021-10-11 20:22:47 +01:00
tools [llc] Support -time-trace in llc 2021-10-11 10:16:46 -07:00
unittests [Clang][ARM][AArch64] Add support for Armv9-A, Armv9.1-A and Armv9.2-A 2021-10-11 17:44:09 +01:00
utils [gn build] (manually) port 070315d04c 2021-10-11 14:30:31 -04:00
.clang-format
.clang-tidy
.gitattributes
.gitignore
CMakeLists.txt
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.