1; Make sure we don't crash because we have stale loop infos. 2; REQUIRES: asserts 3; RUN: llc -o /dev/null -verify-loop-info %s 4 5target triple = "x86_64-unknown-linux-gnu" 6 7@global = external global [2 x i8], align 2 8@global.1 = external global [2 x i8], align 2 9 10define void @patatino(i8 %tinky) { 11bb: 12 br label %bb1 13 14bb1: 15 br i1 icmp ne (i8* getelementptr ([2 x i8], [2 x i8]* @global.1, i64 0, i64 1), 16 i8* getelementptr ([2 x i8], [2 x i8]* @global, i64 0, i64 1)), label %bb2, label %bb3 17 18bb2: 19 br label %bb3 20 21bb3: 22 %tmp = phi i32 [ 60, %bb2 ], 23 [ sdiv (i32 60, i32 zext (i1 icmp eq (i8* getelementptr ([2 x i8], [2 x i8]* @global.1, i64 0, i64 1), 24 i8* getelementptr ([2 x i8], [2 x i8]* @global, i64 0, i64 1)) to i32)), %bb1 ] 25 %tmp4 = icmp slt i8 %tinky, -4 26 br label %bb1 27} 28