llvm-project/llvm/test/Transforms/ConstraintElimination
Florian Hahn e10b0ea371
[ConstraintElimination] Remove over-eager assertion.
After moving the CanAdd check in c60cdb44f7 and using it for
the assume cases as well, the passed in block may not have  a branch
instruction as terminator. This can trigger the assertion. Given the new
use case, it doesn't add value any longer and can be removed.

Fixes https://github.com/llvm/llvm-project/issues/54281
2022-03-08 22:02:08 +00:00
..
add-nuw.ll [ConstraintElimination] Use ZExtValue for unsigned decomposition. 2022-03-07 13:34:01 +00:00
add.ll [test] Use -passes syntax when specifying pipeline in some more tests 2021-11-27 09:52:55 +01:00
and-implied-by-operands.ll [ConstraintElimination] Add additional tests. 2021-11-24 21:32:49 +00:00
and.ll [ConstraintElimination] Add test with trivially false condition in and. 2022-02-05 14:17:08 +00:00
assumes.ll [ConstraintElimination] Only add cond from assume to succs if valid. 2022-03-07 12:01:15 +00:00
decompose-with-temporary-indices.ll [test] Use -passes syntax when specifying pipeline in some more tests 2021-11-27 09:52:55 +01:00
dom.ll [ConstraintElimination] Handle degenerate case with branch to same dest. 2022-02-03 11:09:14 +00:00
empty-constraint.ll [ConstraintElimination] Use constraints with 0 or 1 coefficients. 2022-01-27 18:41:33 +00:00
eq.ll [test] Use -passes syntax when specifying pipeline in some more tests 2021-11-27 09:52:55 +01:00
gep-arithmetic.ll [ConstraintElimination] Add initial signed support. 2022-02-04 14:02:48 +00:00
geps-inbounds-precondition-ub-in-use-blocks.ll [ConstraintElimination] Add additional tests. 2021-11-24 21:32:49 +00:00
geps-inbounds-precondition.ll [test] Use -passes syntax when specifying pipeline in some more tests 2021-11-27 09:52:55 +01:00
geps-pointers-to-arrays.ll [test] Use -passes syntax when specifying pipeline in some more tests 2021-11-27 09:52:55 +01:00
geps-pointers-to-structs.ll [test] Use -passes syntax when specifying pipeline in some more tests 2021-11-27 09:52:55 +01:00
geps-precondition-overflow-check.ll [test] Use -passes syntax when specifying pipeline in some more tests 2021-11-27 09:52:55 +01:00
geps-signed-predicates.ll [ConstraintElimination] Add tests with signed predicates and GEPs. 2022-02-02 15:56:24 +00:00
geps-unsigned-predicates.ll [ConstraintElimination] Allow adding pre-conditions for constraints. 2022-02-04 11:45:07 +00:00
i128.ll [ConstraintElimination] Add initial signed support. 2022-02-04 14:02:48 +00:00
invoke.ll [ConstraintElimination] Remove over-eager assertion. 2022-03-08 22:02:08 +00:00
large-system-growth.ll [ConstraintElimination] Allow adding pre-conditions for constraints. 2022-02-04 11:45:07 +00:00
loops-bottom-tested-base.ll [test] Use -passes syntax when specifying pipeline in some more tests 2021-11-27 09:52:55 +01:00
loops-bottom-tested-pointer-cmps.ll [ConstraintElimination] Allow adding pre-conditions for constraints. 2022-02-04 11:45:07 +00:00
loops-header-tested-base.ll [ConstraintElimination] Add initial signed support. 2022-02-04 14:02:48 +00:00
loops-header-tested-pointer-cmps.ll [ConstraintElimination] Allow adding pre-conditions for constraints. 2022-02-04 11:45:07 +00:00
loops-header-tested-pointer-iv.ll [test] Use -passes syntax when specifying pipeline in some more tests 2021-11-27 09:52:55 +01:00
loops.ll [test] Use -passes syntax when specifying pipeline in some more tests 2021-11-27 09:52:55 +01:00
mixed-signed-unsigned-predicates.ll [ConstraintElimination] Add initial signed support. 2022-02-04 14:02:48 +00:00
mixed.ll [test] Use -passes syntax when specifying pipeline in some more tests 2021-11-27 09:52:55 +01:00
ne.ll [ConstraintElimination] Use simplified constraint for == 0. 2022-01-27 13:31:23 +00:00
or.ll [test] Use -passes syntax when specifying pipeline in some more tests 2021-11-27 09:52:55 +01:00
pointercast.ll [test] Use -passes syntax when specifying pipeline in some more tests 2021-11-27 09:52:55 +01:00
pr54228-variable-name-order.ll [ConstraintElimination] Remove dead variables when dropping constraints. 2022-03-07 09:04:07 +00:00
sge.ll [ConstraintElimination] Add initial signed support. 2022-02-04 14:02:48 +00:00
sub-nuw.ll [ConstraintElimination] Add tests inspired by PR54224. 2022-03-07 13:34:00 +00:00
sub.ll [test] Use -passes syntax when specifying pipeline in some more tests 2021-11-27 09:52:55 +01:00
switch.ll [ConstraintElimination] Remove over-eager assertion. 2022-03-08 22:02:08 +00:00
uge.ll [test] Use -passes syntax when specifying pipeline in some more tests 2021-11-27 09:52:55 +01:00
ugt-ule.ll [test] Use -passes syntax when specifying pipeline in some more tests 2021-11-27 09:52:55 +01:00
ule.ll [test] Use -passes syntax when specifying pipeline in some more tests 2021-11-27 09:52:55 +01:00
uses-in-different-blocks.ll [ConstraintElimination] Add additional tests. 2021-11-24 21:32:49 +00:00
vector-compares.ll [test] Use -passes syntax when specifying pipeline in some more tests 2021-11-27 09:52:55 +01:00
wrapping-math.ll [ConstraintElimination] Support add with precondition. 2022-02-11 20:26:25 +00:00
zext.ll [ConstraintElimination] Add initial signed support. 2022-02-04 14:02:48 +00:00