From: Chris Lattner Date: Sat, 4 Mar 2006 06:02:36 +0000 (+0000) Subject: new testcase X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=5128d2323f26233f0cfddcd4358d0659f8aa3331;p=oota-llvm.git new testcase git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26518 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/Transforms/InstCombine/add.ll b/test/Transforms/InstCombine/add.ll index 3de3f333102..52dfc39ef4c 100644 --- a/test/Transforms/InstCombine/add.ll +++ b/test/Transforms/InstCombine/add.ll @@ -213,3 +213,10 @@ long %test30(long %x) { %tmp.4 = add long %tmp.2, -9223372036854775808 ret long %tmp.4 } + +int %test31(int %A) { + %B = add int %A, 4 + %C = mul int %B, 5 + %D = sub int %C, 20 + ret int %D +}