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 8 define <16 x i8> @select_s_v_v(<16 x i8> %vec, i32 %avail) { 9 entry: 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 16