aboutsummaryrefslogtreecommitdiff
path: root/llvm/test/CodeGen/ARM/ifcvt8.ll
blob: 016d4a6b43e0745713a20e0b497e757b07d5634d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
; RUN: llc < %s -mtriple=armv7-apple-darwin | FileCheck %s

	%struct.SString = type { ptr, i32, i32 }

declare void @abort()

define fastcc void @t(ptr %word, i8 signext  %c) {
; CHECK-NOT: pop
; CHECK: bxne
; CHECK-NOT: pop
entry:
	%tmp1 = icmp eq ptr %word, null		; <i1> [#uses=1]
	br i1 %tmp1, label %cond_true, label %cond_false

cond_true:		; preds = %entry
	tail call void @abort( )
	unreachable

cond_false:		; preds = %entry
	ret void
}