1 ; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
2 ; RUN: llc < %s -mtriple=x86_64-unknown-unknown | FileCheck %s
4 declare dso_local void @bar()
6 define void @foo(ptr) {
8 ; CHECK: # %bb.0: # %start
9 ; CHECK-NEXT: movl (%rdi), %eax
10 ; CHECK-NEXT: andl $6, %eax
11 ; CHECK-NEXT: cmpl $4, %eax
12 ; CHECK-NEXT: jne bar # TAILCALL
13 ; CHECK-NEXT: # %bb.1: # %bb1
16 %1 = load i64, ptr %0, align 8, !range !0
18 %3 = icmp eq i64 %2, 4
19 br i1 %3, label %bb1, label %bb2.i
21 bb1: ; preds = %bb2.i, %start
24 bb2.i: ; preds = %start
25 tail call fastcc void @bar()