diff options
author | Johannes Doerfert <johannes@jdoerfert.de> | 2020-02-20 02:06:48 -0600 |
---|---|---|
committer | Johannes Doerfert <johannes@jdoerfert.de> | 2020-03-24 15:33:40 -0500 |
commit | 5699d08b79afdaed167fb202a4e22d73d6f1bf48 (patch) | |
tree | d2ba215c9b4cd481d90aaf8836a99da14d9ca0b8 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 7339fca25facb566e969b6ce01f23ac96499d574 (diff) | |
download | llvm-5699d08b79afdaed167fb202a4e22d73d6f1bf48.zip llvm-5699d08b79afdaed167fb202a4e22d73d6f1bf48.tar.gz llvm-5699d08b79afdaed167fb202a4e22d73d6f1bf48.tar.bz2 |
[Attributor] Use knowledge retained in llvm.assume (operand bundles)
This patch integrates operand bundle llvm.assumes [0] with the
Attributor. Most IRAttributes will now look at uses of the associated
value and if there are llvm.assume operand bundle uses with the right
tag we will check if they are in the must-be-executed-context (around
the context instruction). Droppable users, which is currently only
llvm::assume, are handled special in some places now as well.
[0] http://lists.llvm.org/pipermail/llvm-dev/2019-December/137632.html
Reviewed By: uenoku
Differential Revision: https://reviews.llvm.org/D74888
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions