mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-14 15:19:33 +00:00
FileCheck-ize, tightening checks and avoiding a temporary file.
llvm-svn: 134341
This commit is contained in:
parent
a5b1de166b
commit
df1690a113
@ -1,11 +1,14 @@
|
||||
; RUN: llc < %s -march=x86-64 > %t
|
||||
; RUN: grep {cmpq \$-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-64 | 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: decq
|
||||
; CHECK-NEXT: cmpq $-478
|
||||
; CHECK: ret
|
||||
|
||||
bb4.thread:
|
||||
br label %bb2.outer
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user