aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen/Mips/dsp-vec-load-store.ll
blob: f9251807d0000d8fb33675499c5f7b48a9d2213b (plain)
1
2
3
4
5
6
7
8
9
10
11
; RUN: llc -march=mipsel -mattr=+dsp < %s

@g1 = common global <2 x i8> zeroinitializer, align 2
@g0 = common global <2 x i8> zeroinitializer, align 2

define void @extend_load_trunc_store_v2i8() {
entry:
  %0 = load <2 x i8>, <2 x i8>* @g1, align 2
  store <2 x i8> %0, <2 x i8>* @g0, align 2
  ret void
}