source: icGREP/icgrep-devel/llvm-3.8.0.src/test/CodeGen/ARM/2008-03-05-SxtInRegBug.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: 443 bytes
Line 
1; RUN: llc -mtriple=arm-eabi -mattr=+v6 %s -o - | FileCheck %s
2
3define i32 @main(i32 %argc, i8** %argv) {
4entry:
5        br label %bb1
6bb1:            ; preds = %entry
7        %tmp3.i.i = load i8, i8* null, align 1          ; <i8> [#uses=1]
8        %tmp4.i.i = icmp slt i8 %tmp3.i.i, 0            ; <i1> [#uses=1]
9        br i1 %tmp4.i.i, label %bb2, label %bb3
10bb2:            ; preds = %bb1
11        ret i32 1
12bb3:            ; preds = %bb1
13        ret i32 0
14}
15
16; CHECK-NOT: 255
17; CHECK: .file{{.*}}SxtInRegBug.ll
18; CHECK-NOT: 255
19
Note: See TracBrowser for help on using the repository browser.