[SystemZ] Simplify knownbits.ll test
authorUlrich Weigand <ulrich.weigand@de.ibm.com>
Tue, 30 Jun 2020 14:29:25 +0000 (16:29 +0200)
committerUlrich Weigand <ulrich.weigand@de.ibm.com>
Tue, 30 Jun 2020 14:31:59 +0000 (16:31 +0200)
commite9c6b63d4a16c7955bf0e7d5c1ab4adbb9d385cc
treeb65746ec6463de19fc9a0f7ffa1ecab66d567065
parentd285f29317d6086e9ab941730f1ee5a468196a4e
[SystemZ] Simplify knownbits.ll test

The knownbits.ll test case is somewhat fragile since:
- it relies on undef inputs; and
- it operates just at the limits of the MaxRecursionDepth

This means that optimization changes may easily cause the test
to spuriously fail.  Rewrite the test so it still validates
the same thing, but in a less fragile manner.
llvm/test/CodeGen/SystemZ/knownbits.ll