blob: a7da834f7810f13592324fbf34a678b24bffe283 [file] [log] [blame]
Dan Gohman0cb2f672009-09-11 18:36:27 +00001; RUN: llc < %s -march=arm -mtriple=arm-apple-darwin | \
Jim Grosbache2fda532009-11-09 00:11:35 +00002; RUN: grep ldmfdne | count 1
Dan Gohmanf17a25c2007-07-18 16:29:46 +00003
4 %struct.SString = type { i8*, i32, i32 }
5
6declare void @abort()
7
Reid Spencerf234bed2007-07-19 23:13:04 +00008define fastcc void @t(%struct.SString* %word, i8 signext %c) {
Dan Gohmanf17a25c2007-07-18 16:29:46 +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}