[LoongArch] Set some operations action for LSX and LASX
commitf2441a06c609cedbb7e11303907f07bf0ca5cb2f
authorwanglei <wanglei@loongson.cn>
Tue, 24 Oct 2023 07:46:56 +0000 (24 15:46 +0800)
committerwanglei <wanglei@loongson.cn>
Wed, 25 Oct 2023 05:02:01 +0000 (25 13:02 +0800)
tree75b7f477483272734165cd8d6c6f645e8b215ddf
parentcadcc7b6c0db862f56611a15dd16a967f38372ae
[LoongArch] Set some operations action for LSX and LASX

First, expand all truncationg stores and extending loads. Second,
expand everything for `fixedlen_vector_valuetypes`.  Finally, we
selectively turn on ones that can be effectively codegen'd.

Simultaneously, this patch adds floating-point vector types to
load/store patterns. Additional test cases will be included in the IR
instruction test patchs.
llvm/lib/Target/LoongArch/LoongArchISelLowering.cpp
llvm/lib/Target/LoongArch/LoongArchLASXInstrInfo.td
llvm/lib/Target/LoongArch/LoongArchLSXInstrInfo.td