diff options
author | Chris Lattner <sabre@nondot.org> | 2006-09-09 20:26:04 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2006-09-09 20:26:04 +0000 |
commit | bbf463620061bd8ede1b5425f3cada275e184d30 (patch) | |
tree | d05e80e3bd3f68fa26dea9f83637ae85125c7a59 /test/Transforms/InstCombine/select.ll | |
parent | f1b5adbfcc874837b5ae4b85d889a8969f3a2b46 (diff) | |
download | external_llvm-bbf463620061bd8ede1b5425f3cada275e184d30.zip external_llvm-bbf463620061bd8ede1b5425f3cada275e184d30.tar.gz external_llvm-bbf463620061bd8ede1b5425f3cada275e184d30.tar.bz2 |
new testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30229 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Transforms/InstCombine/select.ll')
-rw-r--r-- | test/Transforms/InstCombine/select.ll | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/Transforms/InstCombine/select.ll b/test/Transforms/InstCombine/select.ll index 843af1d..526a1bc 100644 --- a/test/Transforms/InstCombine/select.ll +++ b/test/Transforms/InstCombine/select.ll @@ -148,3 +148,9 @@ bool %test17(int* %X, bool %C) { %RV = seteq int* %R, null ret bool %RV } + +int %test18(int %X, int %Y, bool %C) { + %R = select bool %C, int %X, int 0 + %V = div int %Y, %R ; div Y,X + ret int %V +} |