diff options
author | Chris Lattner <sabre@nondot.org> | 2004-04-10 22:01:27 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2004-04-10 22:01:27 +0000 |
commit | 770632451273658c49777392d4f8972a9a4be0cd (patch) | |
tree | f41a6bc13a0a09eb1c37f53863c3eeba82c7f54c /test | |
parent | 38e66bd9d104789efa57e33dd78cc9e7991714e6 (diff) | |
download | external_llvm-770632451273658c49777392d4f8972a9a4be0cd.zip external_llvm-770632451273658c49777392d4f8972a9a4be0cd.tar.gz external_llvm-770632451273658c49777392d4f8972a9a4be0cd.tar.bz2 |
New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12818 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-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 e7548fb..8c99eac 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 +} |