diff options
author | Chris Lattner <sabre@nondot.org> | 2003-07-24 19:31:08 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2003-07-24 19:31:08 +0000 |
commit | b5874f1499743aa99addfc72ab68f970a08af81a (patch) | |
tree | acbc055bbc105ca5c0e4f3cf528f6bba1671ed8c | |
parent | 943c713c653269a4258871ed23371d261ad35908 (diff) |
New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7296 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | test/Transforms/InstCombine/or.ll | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/Transforms/InstCombine/or.ll b/test/Transforms/InstCombine/or.ll index 24c451e1c6..c4a62283f3 100644 --- a/test/Transforms/InstCombine/or.ll +++ b/test/Transforms/InstCombine/or.ll @@ -86,3 +86,10 @@ uint %test13(uint %A) { ret uint %C } +bool %test14(uint %A, uint %B) { + %C1 = setlt uint %A, %B + %C2 = setgt uint %A, %B + %D = or bool %C1, %C2 ; (A < B) | (A > B) === A != B + ret bool %D +} + |