source: icGREP/icgrep-devel/llvm-3.8.0.src/test/CodeGen/AArch64/fast-isel-int-ext4.ll @ 5027

Last change on this file since 5027 was 5027, checked in by cameron, 3 years ago

Upgrade to llvm 3.8

File size: 421 bytes
Line 
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}
Note: See TracBrowser for help on using the repository browser.