aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2005-04-07 16:24:59 +0000
committerChris Lattner <sabre@nondot.org>2005-04-07 16:24:59 +0000
commit3d173b3638ddf269391b32366b54b413f96e3b78 (patch)
treefe06b4b889236af2e93b34f407a97cacfc7e485c /test
parent43d84d6b71cc8ed5b08c22e54f5d1fc263919380 (diff)
downloadexternal_llvm-3d173b3638ddf269391b32366b54b413f96e3b78.zip
external_llvm-3d173b3638ddf269391b32366b54b413f96e3b78.tar.gz
external_llvm-3d173b3638ddf269391b32366b54b413f96e3b78.tar.bz2
new testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21135 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r--test/Transforms/InstCombine/add.ll5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/Transforms/InstCombine/add.ll b/test/Transforms/InstCombine/add.ll
index c971563..f061093 100644
--- a/test/Transforms/InstCombine/add.ll
+++ b/test/Transforms/InstCombine/add.ll
@@ -191,3 +191,8 @@ int %test27(bool %C, int %X, int %Y) {
ret int %D
}
+int %test28(int %X) {
+ %Y = add int %X, 1234
+ %Z = sub int 42, %Y
+ ret int %Z
+}