You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
385 B
17 lines
385 B
4 months ago
|
; RUN: llc < %s -mtriple=thumbv7-apple-ios | FileCheck %s
|
||
|
; rdar://12201387
|
||
|
|
||
|
;CHECK-LABEL: select_s_v_v:
|
||
|
;CHECK: vmov.i32
|
||
|
;CHECK: vmov
|
||
|
;CHECK-NEXT: vmov
|
||
|
;CHECK: bx
|
||
|
define <16 x i8> @select_s_v_v(<16 x i8> %vec, i32 %avail) {
|
||
|
entry:
|
||
|
%and = and i32 %avail, 1
|
||
|
%tobool = icmp eq i32 %and, 0
|
||
|
%ret = select i1 %tobool, <16 x i8> %vec, <16 x i8> zeroinitializer
|
||
|
ret <16 x i8> %ret
|
||
|
}
|
||
|
|