]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - test/CodeGen/ARM/ifcvt8.ll
Vendor import of llvm RELEASE_360/rc1 tag r226102 (effectively, 3.6.0 RC1):
[FreeBSD/FreeBSD.git] / test / CodeGen / ARM / ifcvt8.ll
1 ; RUN: llc < %s -mtriple=armv7-apple-darwin | FileCheck %s
2
3         %struct.SString = type { i8*, i32, i32 }
4
5 declare void @abort()
6
7 define fastcc void @t(%struct.SString* %word, i8 signext  %c) {
8 ; CHECK: popne
9 entry:
10         %tmp1 = icmp eq %struct.SString* %word, null            ; <i1> [#uses=1]
11         br i1 %tmp1, label %cond_true, label %cond_false
12
13 cond_true:              ; preds = %entry
14         tail call void @abort( )
15         unreachable
16
17 cond_false:             ; preds = %entry
18         ret void
19 }