mirror of
https://github.com/RPCSX/llvm.git
synced 2024-11-23 19:59:57 +00:00
bfafbd5fbf
This has been deprecated since ARMARM v7-AR, release C.b, published back in 2012. This also removes test/CodeGen/Thumb2/ifcvt-neon.ll that originally was introduced to check that conditionalization of Neon instructions did happen when generating Thumb2. However, the test had evolved and was no longer testing that. Rather than trying to adapt that test, this commit introduces test/CodeGen/Thumb2/ifcvt-neon-deprecated.mir, since we can now use the MIR framework to write nicer/more maintainable tests. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@305998 91177308-0d34-0410-b5e6-96231b3b80d8
17 lines
385 B
LLVM
17 lines
385 B
LLVM
; RUN: llc < %s -mtriple=thumbv7-apple-ios | FileCheck %s
|
|
; rdar://12201387
|
|
|
|
;CHECK-LABEL: select_s_v_v:
|
|
;CHECK: vmov
|
|
;CHECK-NEXT: vmov
|
|
;CHECK: vmov.i32
|
|
;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
|
|
}
|
|
|