source: icGREP/icgrep-devel/llvm-3.8.0.src/test/CodeGen/ARM/ispositive.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: 251 bytes
Line 
1; RUN: llc -mtriple=arm-eabi %s -o - | FileCheck %s
2
3define i32 @test1(i32 %X) {
4; CHECK: lsr{{.*}}#31
5entry:
6        icmp slt i32 %X, 0              ; <i1>:0 [#uses=1]
7        zext i1 %0 to i32               ; <i32>:1 [#uses=1]
8        ret i32 %1
9}
10
Note: See TracBrowser for help on using the repository browser.