diff options
author | Chris Lattner <sabre@nondot.org> | 2005-05-04 19:05:02 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2005-05-04 19:05:02 +0000 |
commit | 3a9a7701f0f935cf2db5aab11ac4b42a686cefe5 (patch) | |
tree | 5bc7fb0c211dba276b2b0f577da7f2ebc01566f8 /test/Transforms/InstCombine | |
parent | cea6559f602392b5be5d2c20e3bc5dc00d067e51 (diff) | |
download | external_llvm-3a9a7701f0f935cf2db5aab11ac4b42a686cefe5.zip external_llvm-3a9a7701f0f935cf2db5aab11ac4b42a686cefe5.tar.gz external_llvm-3a9a7701f0f935cf2db5aab11ac4b42a686cefe5.tar.bz2 |
new testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21689 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Transforms/InstCombine')
-rw-r--r-- | test/Transforms/InstCombine/set.ll | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/Transforms/InstCombine/set.ll b/test/Transforms/InstCombine/set.ll index 970fceb..6abf646 100644 --- a/test/Transforms/InstCombine/set.ll +++ b/test/Transforms/InstCombine/set.ll @@ -106,3 +106,10 @@ bool %test19(bool %A, bool %B) { %C = seteq int %a, %b ret bool %C } + +uint %test20(uint %A) { + %B = and uint %A, 1 + %C = setne uint %B, 0 + %D = cast bool %C to uint + ret uint %D +} |