[ValueTracking] Add more known non zero tests (NFC)
authorNikita Popov <nikita.ppv@gmail.com>
Sat, 26 Dec 2020 14:31:49 +0000 (15:31 +0100)
committerNikita Popov <nikita.ppv@gmail.com>
Sat, 26 Dec 2020 14:48:04 +0000 (15:48 +0100)
commite8c7e7cdbbb12a485999a8b9d69e7138b3f34845
treecd0e5555072e940b853f4bb32c5a35ee7b19436e
parent622ea9cf74bce89560139ef50fc2f393572f676c
[ValueTracking] Add more known non zero tests (NFC)

Add tests for non-trivial conditions that imply non-zero on the
false branch rather than the true branch.

The last case already folds due to canonicalization.
llvm/test/Transforms/InstCombine/known-non-zero.ll