source: icGREP/icgrep-devel/llvm-3.8.0.src/test/CodeGen/ARM/2012-08-30-select.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: 376 bytes
Line 
1; RUN: llc < %s -mtriple=thumbv7-apple-ios | FileCheck %s
2; rdar://12201387
3
4;CHECK-LABEL: select_s_v_v:
5;CHECK: it  ne
6;CHECK-NEXT: vmovne.i32
7;CHECK: bx
8define <16 x i8> @select_s_v_v(<16 x i8> %vec, i32 %avail) {
9entry:
10  %and = and i32 %avail, 1
11  %tobool = icmp eq i32 %and, 0
12  %ret = select i1 %tobool, <16 x i8> %vec, <16 x i8> zeroinitializer
13  ret <16 x i8> %ret
14}
15
Note: See TracBrowser for help on using the repository browser.