Files
clang-p2996/llvm/lib/Transforms/Scalar/ConstraintElimination.cpp
Florian Hahn aa5b6c9779 [ConstraintElimination] Initial support for using info from assumes.
This patch adds initial support to use facts from @llvm.assume calls. It
intentionally does not handle all possible cases to keep things simple
initially.

For now, the condition from an assume is made available on entry to the
containing block, if the assume is guaranteed to execute. Otherwise it
is only made available in the successor blocks.
2021-08-26 10:08:00 +01:00

19 KiB