From 12642fda090658215b1f20c7d9cecb37b5b6560c Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Thu, 24 Jul 2003 19:44:51 +0000 Subject: More testcases, which I'll implement later git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7298 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/Transforms/InstCombine/or.ll | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'test/Transforms/InstCombine/or.ll') diff --git a/test/Transforms/InstCombine/or.ll b/test/Transforms/InstCombine/or.ll index c4a62283f3..43ed83d618 100644 --- a/test/Transforms/InstCombine/or.ll +++ b/test/Transforms/InstCombine/or.ll @@ -93,3 +93,10 @@ bool %test14(uint %A, uint %B) { ret bool %D } +bool %test15(uint %A, uint %B) { + %C1 = setlt uint %A, %B + %C2 = seteq uint %A, %B + %D = or bool %C1, %C2 ; (A < B) | (A == B) === A <= B + ret bool %D +} + -- cgit v1.2.3