llvm.org GIT mirror llvm / f9b9abb
Add CHECKs and document PR11158. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@142240 91177308-0d34-0410-b5e6-96231b3b80d8 Nadav Rotem 8 years ago
1 changed file(s) with 6 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
147147 ret void
148148 }
149149
150 ; vrev <4 x i16> should use VREV32 and not VREV64
150 ; The type <2 x i16> is legalized to <2 x i32> and need to be trunc-stored
151 ; to <2 x i16> when stored to memory. Currently ARM scalarizes these stores.
152 ; See PR 11158
151153 define void @test_vrev64(<4 x i16>* nocapture %source, <2 x i16>* nocapture %dst) nounwind ssp {
154 ; CHECK: test_vrev64:
155 ; CHECK: vst1.16
156 ; CHECK: vst1.16
152157 entry:
153158 %0 = bitcast <4 x i16>* %source to <8 x i16>*
154159 %tmp2 = load <8 x i16>* %0, align 4