aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen/Mips/dsp-vec-load-store.ll
blob: 7e4a8fedaa8c10234bf83bba89099f193d9bb2b5 (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>* @g1, align 2
  store <2 x i8> %0, <2 x i8>* @g0, align 2
  ret void
}