blob: 1e39060e69f2e3d6220a820f67989ded6f502c40 [file] [log] [blame]
Dan Gohmanb7c0b242009-09-11 18:36:27 +00001; RUN: llc < %s -march=arm -mtriple=arm-apple-darwin | \
Bob Wilsonea7f22c2010-03-16 16:19:07 +00002; RUN: grep ldmiane | count 1
Evan Cheng60c916b2007-06-20 18:26:15 +00003
4 %struct.SString = type { i8*, i32, i32 }
5
6declare void @abort()
7
Reid Spencer9445e9a2007-07-19 23:13:04 +00008define fastcc void @t(%struct.SString* %word, i8 signext %c) {
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}