llvm-project/llvm
Aditya Nandakumar b91d9ec0bb [GlobalISel]: Fix some non determinism exposed in CSE due to not notifying observers about mutations + add verification for CSE
https://reviews.llvm.org/D67133

While investigating some non determinism (CSE doesn't produce wrong
code, it just doesn't CSE some times) in GISel CSE on an out of tree
target, I realized that the core issue was that there were lots of code
that mutates (setReg, setRegClass etc), but doesn't notify observers
(CSE in this case but this could be any other observer). In order to
make the Observer be available in various parts of code and to avoid
having to thread it through various API, the MachineFunction now has the
observer as field. This allows it to be easily used in helper functions
such as constrainOperandRegClass.
Also added some invariant verification method in CSEInfo which can
catch these issues (when CSE is enabled).
2020-02-18 14:54:57 -08:00
..
benchmarks
bindings Rework go bindings so that validation works fine 2020-02-13 14:13:03 +01:00
cmake llvm: Use quotes around MSVC_DIA_SDK_DIR CMake variable 2020-02-18 14:42:19 +02:00
docs Add coding standard recommending use of qualifiers in cpp files 2020-02-18 14:08:56 -08:00
examples Fix compilation breakage introduced by 8404aeb56a. 2020-02-14 11:17:18 -05:00
include [GlobalISel]: Fix some non determinism exposed in CSE due to not notifying observers about mutations + add verification for CSE 2020-02-18 14:54:57 -08:00
lib [GlobalISel]: Fix some non determinism exposed in CSE due to not notifying observers about mutations + add verification for CSE 2020-02-18 14:54:57 -08:00
projects
resources
runtimes [runtimes] Add umbrella targets for runtimes 2020-02-12 09:46:14 -08:00
test Fix assertion on `!eq(?, 0)` 2020-02-18 14:05:55 -08:00
tools Improve comments after 8404aeb56a. 2020-02-18 14:25:21 -05:00
unittests [IR] Lazily number instructions for local dominance queries 2020-02-18 14:44:24 -08:00
utils [IR] Lazily number instructions for local dominance queries 2020-02-18 14:44:24 -08:00
.arcconfig
.clang-format
.clang-tidy - Update .clang-tidy to ignore parameters of main like functions for naming violations in clang and llvm directory 2020-01-31 16:49:45 +00:00
.gitattributes
.gitignore Continue removing llgo. 2020-02-10 10:33:58 -08:00
CMakeLists.txt Fix integration of pass plugins with llvm dylib 2020-02-13 14:18:08 +01:00
CODE_OWNERS.TXT Continue removing llgo. 2020-02-10 10:33:58 -08: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.