diff options
| author | Dimitry Andric <dim@FreeBSD.org> | 2013-12-22 00:04:03 +0000 |
|---|---|---|
| committer | Dimitry Andric <dim@FreeBSD.org> | 2013-12-22 00:04:03 +0000 |
| commit | f8af5cf600354830d4ccf59732403f0f073eccb9 (patch) | |
| tree | 2ba0398b4c42ad4f55561327538044fd2c925a8b /test/CodeGen/Mips/dsp-vec-load-store.ll | |
| parent | 59d6cff90eecf31cb3dd860c4e786674cfdd42eb (diff) | |
Notes
Diffstat (limited to 'test/CodeGen/Mips/dsp-vec-load-store.ll')
| -rw-r--r-- | test/CodeGen/Mips/dsp-vec-load-store.ll | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/test/CodeGen/Mips/dsp-vec-load-store.ll b/test/CodeGen/Mips/dsp-vec-load-store.ll new file mode 100644 index 0000000000000..7e4a8fedaa8c1 --- /dev/null +++ b/test/CodeGen/Mips/dsp-vec-load-store.ll @@ -0,0 +1,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 +} |
