1*9880d681SAndroid Build Coastguard Worker; RUN: llc -march=mips < %s 2*9880d681SAndroid Build Coastguard Worker; RUN: llc -march=mips -mattr=+msa,+fp64 < %s 3*9880d681SAndroid Build Coastguard Worker; RUN: llc -march=mipsel < %s 4*9880d681SAndroid Build Coastguard Worker; RUN: llc -march=mipsel -mattr=+msa,+fp64 < %s 5*9880d681SAndroid Build Coastguard Worker 6*9880d681SAndroid Build Coastguard Worker; This test originally failed to select code for a truncstore of a 7*9880d681SAndroid Build Coastguard Worker; build_vector. 8*9880d681SAndroid Build Coastguard Worker; It should at least successfully build. 9*9880d681SAndroid Build Coastguard Worker 10*9880d681SAndroid Build Coastguard Workerdefine void @autogen_SD742806235(i8*, i32*, i64*, i32, i64, i8) { 11*9880d681SAndroid Build Coastguard WorkerBB: 12*9880d681SAndroid Build Coastguard Worker %A4 = alloca double 13*9880d681SAndroid Build Coastguard Worker %A3 = alloca double 14*9880d681SAndroid Build Coastguard Worker %A2 = alloca <8 x i8> 15*9880d681SAndroid Build Coastguard Worker %A1 = alloca <4 x float> 16*9880d681SAndroid Build Coastguard Worker %A = alloca i1 17*9880d681SAndroid Build Coastguard Worker store i8 %5, i8* %0 18*9880d681SAndroid Build Coastguard Worker store i8 %5, i8* %0 19*9880d681SAndroid Build Coastguard Worker store i8 %5, i8* %0 20*9880d681SAndroid Build Coastguard Worker store <8 x i8> <i8 0, i8 -1, i8 0, i8 -1, i8 0, i8 -1, i8 0, i8 -1>, <8 x i8>* %A2 21*9880d681SAndroid Build Coastguard Worker store i8 %5, i8* %0 22*9880d681SAndroid Build Coastguard Worker ret void 23*9880d681SAndroid Build Coastguard Worker} 24