forked from OSchip/llvm-project
FileCheck-ize, tightening checks and avoiding a temporary file.
llvm-svn: 134340
This commit is contained in:
parent
ff0e32536e
commit
6e4d90f7c6
|
@ -1,11 +1,14 @@
|
|||
; RUN: llc < %s -march=x86 > %t
|
||||
; RUN: grep {cmpl \$-478,} %t
|
||||
; RUN: not grep inc %t
|
||||
; RUN: not grep {leal 1(} %t
|
||||
; RUN: not grep {leal -1(} %t
|
||||
; RUN: grep dec %t | count 1
|
||||
; RUN: llc < %s -march=x86 | FileCheck %s
|
||||
|
||||
define void @borf(i8* nocapture %in, i8* nocapture %out) nounwind {
|
||||
; CHECK: borf:
|
||||
; CHECK-NOT: inc
|
||||
; CHECK-NOT: leal 1(
|
||||
; CHECK-NOT: leal -1(
|
||||
; CHECK: decl
|
||||
; CHECK-NEXT: cmpl $-478
|
||||
; CHECK: ret
|
||||
|
||||
bb4.thread:
|
||||
br label %bb2.outer
|
||||
|
||||
|
|
Loading…
Reference in New Issue