mirror of
https://github.com/RPCS3/llvm.git
synced 2025-02-25 21:33:25 +00:00
[NFC] Use FileCheck in test
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@330684 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
9d4b43cf24
commit
3c8c5ef2e4
@ -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