+; 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