[NFC][InstSimplify] rewrite test added in r371537 to use non-null pointer instead
authorRoman Lebedev <lebedev.ri@gmail.com>
Tue, 10 Sep 2019 18:40:00 +0000 (18:40 +0000)
committerRoman Lebedev <lebedev.ri@gmail.com>
Tue, 10 Sep 2019 18:40:00 +0000 (18:40 +0000)
commit870ffe3cee6398f5c576e230765424f6f89d2143
tree98f1aa5fdc4549dffbc84dc67a886449e759489e
parent3ef7dbd6650d53af79dedbfcd3c85a96b29c96bb
[NFC][InstSimplify] rewrite test added in r371537 to use non-null pointer instead

I only want to ensure that %offset is non-zero there,
it doesn't matter how that info is conveyed.
As filed in PR43267, the assumption way does not work.

llvm-svn: 371546
llvm/test/Transforms/InstSimplify/result-of-usub-by-nonzero-is-non-zero-and-no-overflow.ll