mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-31 12:41:49 +01:00
[NFC] Use FileCheck in test
llvm-svn: 330684
This commit is contained in:
parent
12d2cf6584
commit
f2f74c9bed
@ -1,7 +1,11 @@
|
||||
; REQUIRES: asserts
|
||||
; RUN: opt < %s -loop-unswitch -stats -disable-output 2>&1 | grep "1 loop-unswitch - Number of branches unswitched" | count 1
|
||||
; RUN: opt < %s -loop-unswitch -stats -disable-output 2>&1 | FileCheck %s
|
||||
; PR 3170
|
||||
|
||||
define i32 @a(i32 %x, i32 %y) nounwind {
|
||||
; CHECK: 1 loop-unswitch - Number of branches unswitched
|
||||
; CHECK-NOT: Number of branches unswitched
|
||||
|
||||
entry:
|
||||
%0 = icmp ult i32 0, %y ; <i1> [#uses=1]
|
||||
br i1 %0, label %bb.nph, label %bb4
|
||||
|
Loading…
x
Reference in New Issue
Block a user