1 ; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
2 ; RUN: llc < %s -verify-machineinstrs | FileCheck %s
4 target datalayout = "E-m:e-i64:64-n32:64-S128"
5 target triple = "sparc64-unknown-linux-gnu"
7 define void @f(i64 %a0) align 2 {
9 ; CHECK: .cfi_startproc
10 ; CHECK-NEXT: ! %bb.0: ! %entry
11 ; CHECK-NEXT: cmp %o0, 0
12 ; CHECK-NEXT: be %xcc, .LBB0_2
14 ; CHECK-NEXT: ba .LBB0_1
16 ; CHECK-NEXT: .LBB0_2: ! %targetblock
17 ; CHECK-NEXT: mov %g0, %o0
18 ; CHECK-NEXT: cmp %o0, 0
19 ; CHECK-NEXT: bne .LBB0_4
21 ; CHECK-NEXT: ! %bb.3: ! %cond.false.i83
22 ; CHECK-NEXT: .LBB0_1: ! %cond.false
23 ; CHECK-NEXT: .LBB0_4: ! %exit.i85
25 %cmp = icmp eq i64 %a0, 0
26 br i1 %cmp, label %targetblock, label %cond.false
32 br i1 undef, label %cond.false.i83, label %exit.i85