[X86] Autogenerate complete checks. NFC

llvm-svn: 357445
This commit is contained in:
Craig Topper 2019-04-02 00:54:15 +00:00
parent c5903c935c
commit c133015975
1 changed files with 25 additions and 4 deletions

View File

@ -1,9 +1,20 @@
; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
;RUN: llc < %s -mtriple=i686-- | FileCheck %s ;RUN: llc < %s -mtriple=i686-- | FileCheck %s
define void @foo(i32 inreg %dns) minsize { define void @foo(i32 inreg %dns) minsize {
; CHECK-LABEL: foo:
; CHECK: # %bb.0: # %entry
; CHECK-NEXT: xorl %ecx, %ecx
; CHECK-NEXT: decl %ecx
; CHECK-NEXT: .LBB0_1: # %for.body
; CHECK-NEXT: # =>This Inner Loop Header: Depth=1
; CHECK-NEXT: movzwl %cx, %edx
; CHECK-NEXT: decl %ecx
; CHECK-NEXT: cmpl %eax, %edx
; CHECK-NEXT: jl .LBB0_1
; CHECK-NEXT: # %bb.2: # %for.end
; CHECK-NEXT: retl
entry: entry:
; CHECK-LABEL: foo
; CHECK: dec
br label %for.body br label %for.body
for.body: for.body:
@ -18,9 +29,19 @@ for.end:
} }
define void @bar(i32 inreg %dns) minsize { define void @bar(i32 inreg %dns) minsize {
; CHECK-LABEL: bar:
; CHECK: # %bb.0: # %entry
; CHECK-NEXT: xorl %ecx, %ecx
; CHECK-NEXT: incl %ecx
; CHECK-NEXT: .LBB1_1: # %for.body
; CHECK-NEXT: # =>This Inner Loop Header: Depth=1
; CHECK-NEXT: movzwl %cx, %edx
; CHECK-NEXT: incl %ecx
; CHECK-NEXT: cmpl %eax, %edx
; CHECK-NEXT: jl .LBB1_1
; CHECK-NEXT: # %bb.2: # %for.end
; CHECK-NEXT: retl
entry: entry:
; CHECK-LABEL: bar
; CHECK: inc
br label %for.body br label %for.body
for.body: for.body: