1 ; RUN: llc < %s 2 3 target datalayout = "E-p:64:64:64-i8:8:16-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-f128:128:128-a0:16:16" 4 target triple = "s390x-ibm-linux" 5 6 define signext i32 @dfg_parse() nounwind { 7 entry: 8 br i1 undef, label %if.then2208, label %if.else2360 9 10 if.then2208: ; preds = %entry 11 br i1 undef, label %bb.nph3189, label %for.end2270 12 13 bb.nph3189: ; preds = %if.then2208 14 unreachable 15 16 for.end2270: ; preds = %if.then2208 17 %call2279 = call i64 @strlen(i8* undef) nounwind ; <i64> [#uses=1] 18 %add2281 = add i64 0, %call2279 ; <i64> [#uses=1] 19 %tmp2283 = trunc i64 %add2281 to i32 ; <i32> [#uses=1] 20 %tmp2284 = alloca i8, i32 %tmp2283, align 2 ; <i8*> [#uses=1] 21 %yyd.0.i2561.13 = getelementptr i8* %tmp2284, i64 13 ; <i8*> [#uses=1] 22 store i8 117, i8* %yyd.0.i2561.13 23 br label %while.cond.i2558 24 25 while.cond.i2558: ; preds = %while.cond.i2558, %for.end2270 26 br label %while.cond.i2558 27 28 if.else2360: ; preds = %entry 29 unreachable 30 } 31 32 declare i64 @strlen(i8* nocapture) nounwind readonly 33