blob: ca9a5c63cda67c1af7f1c05df9f2218e2fe731ad [file] [log] [blame]
Bob Wilson6819dbb2011-01-06 19:24:41 +00001; RUN: llc < %s -mtriple=armv7-apple-darwin | FileCheck %s
Evan Cheng60c916b2007-06-20 18:26:15 +00002
3 %struct.SString = type { i8*, i32, i32 }
4
5declare void @abort()
6
Reid Spencer9445e9a2007-07-19 23:13:04 +00007define fastcc void @t(%struct.SString* %word, i8 signext %c) {
Jim Grosbachdd119882011-03-11 22:51:41 +00008; CHECK: popne
Evan Cheng60c916b2007-06-20 18:26:15 +00009entry:
10 %tmp1 = icmp eq %struct.SString* %word, null ; <i1> [#uses=1]
11 br i1 %tmp1, label %cond_true, label %cond_false
12
13cond_true: ; preds = %entry
14 tail call void @abort( )
15 unreachable
16
17cond_false: ; preds = %entry
18 ret void
19}