From 7a32bc9b9b89f432d521c243cfb79d29f2168d24 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Mon, 2 Apr 2007 05:35:08 +0000 Subject: creative way to add one. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35583 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/Transforms/InstCombine/xor.ll | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'test/Transforms/InstCombine/xor.ll') diff --git a/test/Transforms/InstCombine/xor.ll b/test/Transforms/InstCombine/xor.ll index b6c923d5b4..4d128c666d 100644 --- a/test/Transforms/InstCombine/xor.ll +++ b/test/Transforms/InstCombine/xor.ll @@ -190,3 +190,9 @@ int %test27(int %b, int %c, int %d) { ret int %tmp6 } +int %test28(int %indvar) { + %tmp7 = add int %indvar, -2147483647 + %tmp214 = xor int %tmp7, -2147483648 + ret int %tmp214 +} + -- cgit v1.2.3