source: icGREP/icgrep-devel/llvm-3.8.0.src/test/CodeGen/ARM/ifcvt6.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: 492 bytes
Line 
1; RUN: llc < %s -mtriple=armv7-apple-ios | FileCheck %s
2
3define void @foo(i32 %X, i32 %Y) {
4entry:
5; CHECK: cmpne
6; CHECK: bxhi lr
7        %tmp1 = icmp ult i32 %X, 4              ; <i1> [#uses=1]
8        %tmp4 = icmp eq i32 %Y, 0               ; <i1> [#uses=1]
9        %tmp7 = or i1 %tmp4, %tmp1              ; <i1> [#uses=1]
10        br i1 %tmp7, label %cond_true, label %UnifiedReturnBlock
11
12cond_true:              ; preds = %entry
13        %tmp10 = call i32 (...) @bar( )         ; <i32> [#uses=0]
14        ret void
15
16UnifiedReturnBlock:             ; preds = %entry
17        ret void
18}
19
20declare i32 @bar(...)
Note: See TracBrowser for help on using the repository browser.