diff options
Diffstat (limited to 'test/Transforms/InstCombine/and.ll')
-rw-r--r-- | test/Transforms/InstCombine/and.ll | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/Transforms/InstCombine/and.ll b/test/Transforms/InstCombine/and.ll index 87e0a5e34d..703dea3326 100644 --- a/test/Transforms/InstCombine/and.ll +++ b/test/Transforms/InstCombine/and.ll @@ -113,3 +113,9 @@ sbyte %test17(sbyte %X, sbyte %Y) { ;; ~(~X & Y) --> (X | ~Y) ret sbyte %D } +bool %test18(int %A) { + %B = and int %A, -128 + %C = setne int %B, 0 ;; C >= 128 + ret bool %C +} + |