Prevent InstCombine from removing llvm.assume for which the arguement is true when they have operand bundles with usefull information.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D76147
[AssumeBundles] Detection of Empty bundles ClosedPublic Authored by Tyker on Mar 13 2020, 10:52 AM.
Details Summary Prevent InstCombine from removing llvm.assume for which the arguement is true when they have operand bundles with usefull information.
Diff Detail
Event TimelineTyker added a child revision: D73832: Ignore/Drop droppable uses for code-sinking in InstCombine.Mar 13 2020, 10:53 AM This revision is now accepted and ready to land.Mar 13 2020, 4:39 PM Closed by commit rGe8ac825f5b98: [AssumeBundles] Detection of Empty bundles (authored by Tyker). · Explain WhyMar 17 2020, 8:00 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 250260 llvm/include/llvm/IR/KnowledgeRetention.h
llvm/lib/IR/KnowledgeRetention.cpp
llvm/lib/Transforms/InstCombine/InstCombineCalls.cpp
llvm/lib/Transforms/Utils/Local.cpp
llvm/test/Transforms/InstCombine/assume.ll
|
clang-format: please reformat the code