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