diff options
-rw-r--r-- | test/Transforms/InstCombine/add.ll | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/Transforms/InstCombine/add.ll b/test/Transforms/InstCombine/add.ll index e7548fb81b..8c99eac397 100644 --- a/test/Transforms/InstCombine/add.ll +++ b/test/Transforms/InstCombine/add.ll @@ -123,4 +123,10 @@ int %test19(bool %C) { ret int %V } +int %test20(int %x) { + %tmp.2 = xor int %x, -2147483648 + ;; Add of sign bit -> xor of sign bit. + %tmp.4 = add int %tmp.2, -2147483648 + ret int %tmp.4 +} |