2014-01-13 03:24:08 +08:00
|
|
|
; RUN: llc < %s -verify-machineinstrs | FileCheck %s
|
|
|
|
target datalayout = "E-m:e-i64:64-n32:64-S128"
|
|
|
|
target triple = "sparc64-unknown-linux-gnu"
|
|
|
|
|
|
|
|
define void @f() align 2 {
|
|
|
|
entry:
|
2016-06-25 02:16:36 +08:00
|
|
|
; CHECK: %xcc, .LBB0_2
|
2014-01-13 03:24:08 +08:00
|
|
|
%cmp = icmp eq i64 undef, 0
|
|
|
|
br i1 %cmp, label %targetblock, label %cond.false
|
|
|
|
|
|
|
|
cond.false:
|
|
|
|
unreachable
|
|
|
|
|
2016-06-25 02:16:36 +08:00
|
|
|
; CHECK: .LBB0_2: ! %targetblock
|
2014-01-13 03:24:08 +08:00
|
|
|
targetblock:
|
|
|
|
br i1 undef, label %cond.false.i83, label %exit.i85
|
|
|
|
|
|
|
|
cond.false.i83:
|
|
|
|
unreachable
|
|
|
|
|
|
|
|
exit.i85:
|
|
|
|
unreachable
|
|
|
|
}
|