1; RUN: llc -mtriple=aarch64-apple-darwin -fast-isel -fast-isel-abort=1 -verify-machineinstrs < %s | FileCheck %s
2
3define i32 @kill_flag(i16 signext %a) {
4; CHECK-LABEL: kill_flag
5entry:
6  %0 = sext i16 %a to i32
7  br label %bb1
8
9bb1:
10  %1 = icmp slt i32 undef, %0
11  br i1 %1, label %loop, label %exit
12
13loop:
14  %2 = sext i16 %a to i32
15  %3 = icmp slt i32 undef, %2
16  br i1 %3, label %bb1, label %exit
17
18exit:
19  ret i32 0
20}
21