[ConstraintElimination] Rewrite tests to reduce verification complexity.
authorFlorian Hahn <flo@fhahn.com>
Thu, 26 Aug 2021 12:56:58 +0000 (13:56 +0100)
committerFlorian Hahn <flo@fhahn.com>
Thu, 26 Aug 2021 15:41:40 +0000 (16:41 +0100)
commit0bcfd4cbac66e6216022f51feb38236dc07e333f
tree692dbae560a5207d927bd63ed696c5c43a889e98
parent55bdb14026ca21a2b773f749a01bf7e6f3fa7c0b
[ConstraintElimination] Rewrite tests to reduce verification complexity.

This patch reduces the bitwidth of types certain tests operate and gets
rid of a number of @use(i1) calls and xor's the conditions together
instead, which eliminates all timeouts when verifying the tests.
See https://github.com/AliveToolkit/alive2/issues/744 for more details.
llvm/test/Transforms/ConstraintElimination/and.ll
llvm/test/Transforms/ConstraintElimination/decompose-with-temporary-indices.ll
llvm/test/Transforms/ConstraintElimination/dom.ll
llvm/test/Transforms/ConstraintElimination/gep-arithmetic.ll
llvm/test/Transforms/ConstraintElimination/geps.ll
llvm/test/Transforms/ConstraintElimination/loops-bottom-tested-pointer-cmps.ll
llvm/test/Transforms/ConstraintElimination/or.ll
llvm/test/Transforms/ConstraintElimination/uge.ll
llvm/test/Transforms/ConstraintElimination/ule.ll
llvm/test/Transforms/ConstraintElimination/zext.ll