]> granicus.if.org Git - llvm/commit
[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)
commitc9e9f6a5e6f0b874aac2fe223448838262efe6d3
tree8aef2484671025200c9741ee366f95e874a9a5ea
parentb7c0307ccf367ef7dc6b29c8212abd1f1b2bf24a
[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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@371546 91177308-0d34-0410-b5e6-96231b3b80d8
test/Transforms/InstSimplify/result-of-usub-by-nonzero-is-non-zero-and-no-overflow.ll