1 ; RUN: llc < %s -mtriple=thumbv7-apple-ios | FileCheck %s 2 ; rdar://12201387 3 4 ;CHECK: 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(i32 %avail, i8* %bar) { 9 entry: 10 %vld1 = call <16 x i8> @llvm.arm.neon.vld1.v16i8(i8* %bar, i32 1) 11 %and = and i32 %avail, 1 12 %tobool = icmp eq i32 %and, 0 13 %vld1. = select i1 %tobool, <16 x i8> %vld1, <16 x i8> zeroinitializer 14 ret <16 x i8> %vld1. 15 } 16 17 declare <16 x i8> @llvm.arm.neon.vld1.v16i8(i8* , i32 ) 18 19