diff options
author | Akira Hatanaka <ahatanaka@mips.com> | 2013-08-02 19:23:33 +0000 |
---|---|---|
committer | Akira Hatanaka <ahatanaka@mips.com> | 2013-08-02 19:23:33 +0000 |
commit | 5e795097b081390a7172beeffad7e65c5150214f (patch) | |
tree | af0f1b1638126fe25e43bc517a3a3b0bbd86ba20 /test | |
parent | 787fdb86a71c5108c231b3bbbb7d3fea3ce4bb8c (diff) | |
download | external_llvm-5e795097b081390a7172beeffad7e65c5150214f.zip external_llvm-5e795097b081390a7172beeffad7e65c5150214f.tar.gz external_llvm-5e795097b081390a7172beeffad7e65c5150214f.tar.bz2 |
[mips] Expand vector truncating stores and extending loads.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187667 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-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 0000000..7e4a8fe --- /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 +} |