[mips][msa] Expand all truncstores and loadexts for MSA as well as DSP
[oota-llvm.git] / test / CodeGen / Mips / msa / llvm-stress-sz1-s742806235.ll
1 ; RUN: llc -march=mips < %s
2 ; RUN: llc -march=mips -mattr=+MSA < %s
3
4 ; This test originally failed to select code for a truncstore of a
5 ; build_vector.
6 ; It should at least successfully build.
7
8 define void @autogen_SD742806235(i8*, i32*, i64*, i32, i64, i8) {
9 BB:
10   %A4 = alloca double
11   %A3 = alloca double
12   %A2 = alloca <8 x i8>
13   %A1 = alloca <4 x float>
14   %A = alloca i1
15   store i8 %5, i8* %0
16   store i8 %5, i8* %0
17   store i8 %5, i8* %0
18   store <8 x i8> <i8 0, i8 -1, i8 0, i8 -1, i8 0, i8 -1, i8 0, i8 -1>, <8 x i8>* %A2
19   store i8 %5, i8* %0
20   ret void
21 }