Home | History | Annotate | Download | only in ARM
      1 ; RUN: llc < %s -mtriple=thumbv7-apple-darwin -relocation-model=pic -disable-fp-elim | FileCheck %s
      2 
      3 target datalayout = "e-p:32:32:32-i1:8:32-i8:8:32-i16:16:32-i32:32:32-i64:32:32-f32:32:32-f64:32:32-v64:64:64-v128:128:128-a0:0:32-n32"
      4 target triple = "thumbv7-apple-darwin"
      5 
      6 define <8 x i8> @shuf(<8 x i8> %a) nounwind readnone optsize ssp {
      7 entry:
      8 ; CHECK: vtbl
      9   %shuffle = shufflevector <8 x i8> %a, <8 x i8> undef, <8 x i32> <i32 3, i32 1, i32 2, i32 0, i32 4, i32 4, i32 5, i32 0>
     10   ret <8 x i8> %shuffle
     11 }
     12 
     13 define <8 x i8> @shuf2(<8 x i8> %a, <8 x i8> %b) nounwind readnone optsize ssp {
     14 entry:
     15 ; CHECK: vtbl
     16   %shuffle = shufflevector <8 x i8> %a, <8 x i8> %b, <8 x i32> <i32 3, i32 1, i32 2, i32 0, i32 4, i32 4, i32 5, i32 8>
     17   ret <8 x i8> %shuffle
     18 }
     19