From 99672cb13061227d182b5b515a7f02ea4d42d4cb Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Fri, 11 Jul 2008 03:54:57 +0000 Subject: [PATCH] make this condition more precise. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@53442 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/Transforms/InstCombine/JavaCompare.ll | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/test/Transforms/InstCombine/JavaCompare.ll b/test/Transforms/InstCombine/JavaCompare.ll index db62991211b..72cab427d07 100644 --- a/test/Transforms/InstCombine/JavaCompare.ll +++ b/test/Transforms/InstCombine/JavaCompare.ll @@ -1,8 +1,7 @@ ; This is the sequence of stuff that the Java front-end expands for a single ; <= comparison. Check to make sure we turn it into a <= (only) -; RUN: llvm-as < %s | opt -instcombine | llvm-dis | \ -; RUN: grep -v {icmp sle} | not grep #uses +; RUN: llvm-as < %s | opt -instcombine | llvm-dis | grep {%c3 = icmp sle i32 %A, %B} define i1 @le(i32 %A, i32 %B) { %c1 = icmp sgt i32 %A, %B ; [#uses=1]