autogenerate checks

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@278624 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Igor Breger 2016-08-14 09:34:39 +00:00
parent bf57b01543
commit 96cefd6f44

View File

@ -1,13 +1,30 @@
; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
; RUN: llc < %s -mtriple=x86_64-apple-darwin -mcpu=knl | FileCheck %s
; ModuleID = 'bugpoint-reduced-simplified.bc'
target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
; CHECK-LABEL: func
; CHECK: testb
; CHECK: testb
define void @func() {
; CHECK-LABEL: func:
; CHECK: ## BB#0: ## %L_10
; CHECK-NEXT: xorl %eax, %eax
; CHECK-NEXT: testb %al, %al
; CHECK-NEXT: je LBB0_1
; CHECK-NEXT: ## BB#4: ## %L_30
; CHECK-NEXT: retq
; CHECK-NEXT: LBB0_1: ## %bb56
; CHECK-NEXT: xorl %eax, %eax
; CHECK-NEXT: jmp LBB0_2
; CHECK-NEXT: .p2align 4, 0x90
; CHECK-NEXT: LBB0_3: ## %bb35
; CHECK-NEXT: ## in Loop: Header=BB0_2 Depth=1
; CHECK-NEXT: testb %al, %al
; CHECK-NEXT: LBB0_2: ## %bb33
; CHECK-NEXT: ## =>This Inner Loop Header: Depth=1
; CHECK-NEXT: testb %al, %al
; CHECK-NEXT: jne LBB0_2
; CHECK-NEXT: jmp LBB0_3
bb1:
br i1 undef, label %L_10, label %L_10