36 lines · plain
1; REQUIRES: asserts2; RUN: llc < %s -stats 2>&1 | not grep "instructions sunk"3; PR35224 5target triple = "i386-pc-linux-gnu"6@.str = external dso_local constant [13 x i8] ; <ptr> [#uses=1]7 8define void @_ada_c34018a() personality ptr @__gxx_personality_v0 {9entry:10 %0 = tail call i32 @report__ident_int(i32 90) ; <i32> [#uses=1]11 %1 = trunc i32 %0 to i8 ; <i8> [#uses=1]12 invoke void @__gnat_rcheck_12(ptr @.str, i32 32) noreturn13 to label %invcont unwind label %lpad14 15invcont: ; preds = %entry16 unreachable17 18bb22: ; preds = %lpad19 ret void20 21return: ; preds = %lpad22 ret void23 24lpad: ; preds = %entry25 %exn = landingpad {ptr, i32}26 cleanup27 %2 = icmp eq i8 %1, 90 ; <i1> [#uses=1]28 br i1 %2, label %return, label %bb2229}30 31declare void @__gnat_rcheck_12(ptr, i32) noreturn32 33declare i32 @report__ident_int(i32)34 35declare i32 @__gxx_personality_v0(...)36