Eli Friedman | 1a5ede9 | 2009-05-08 00:22:04 +0000 | [diff] [blame^] | 1 | ; RUN: llvm-as < %s | opt -inline -disable-output |
| 2 | ; PR4123 |
| 3 | %struct.S0 = type <{ i32 }> |
| 4 | %struct.S1 = type <{ i8, i8, i8, i8, %struct.S0 }> |
| 5 | %struct.S2 = type <{ %struct.S1, i32 }> |
| 6 | |
| 7 | define void @func_113(%struct.S1* noalias nocapture sret %agg.result, i8 signext %p_114) noreturn nounwind { |
| 8 | entry: |
| 9 | unreachable |
| 10 | |
| 11 | for.inc: ; preds = %for.inc |
| 12 | %call48 = call fastcc signext i8 @safe_sub_func_uint8_t_u_u(i8 signext %call48) ; <i8> [#uses=1] |
| 13 | br label %for.inc |
| 14 | } |
| 15 | |
| 16 | define fastcc signext i8 @safe_sub_func_uint8_t_u_u(i8 signext %_ui1) nounwind readnone { |
| 17 | entry: |
| 18 | ret i8 %_ui1 |
| 19 | } |
| 20 | |