[all-commits] [llvm/llvm-project] c46d24: [MIPS GlobalISel] Select MSA vector generic and bu...
petar-avramovic via All-commits
all-commits at lists.llvm.org
Wed Oct 23 02:17:44 PDT 2019
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: c46d24f5c3141e9a9f2bdd9d5c38b98feffc8760
https://github.com/llvm/llvm-project/commit/c46d24f5c3141e9a9f2bdd9d5c38b98feffc8760
Author: Petar Avramovic <Petar.Avramovic at rt-rk.com>
Date: 2019-10-23 (Wed, 23 Oct 2019)
Changed paths:
M llvm/lib/Target/Mips/MipsLegalizerInfo.cpp
M llvm/lib/Target/Mips/MipsRegisterBankInfo.cpp
A llvm/test/CodeGen/Mips/GlobalISel/instruction-select/sub_vec.mir
A llvm/test/CodeGen/Mips/GlobalISel/legalizer/sub_vec.mir
A llvm/test/CodeGen/Mips/GlobalISel/legalizer/sub_vec_builtin.mir
A llvm/test/CodeGen/Mips/GlobalISel/llvm-ir/sub_vec.ll
A llvm/test/CodeGen/Mips/GlobalISel/llvm-ir/sub_vec_builtin.ll
A llvm/test/CodeGen/Mips/GlobalISel/regbankselect/sub_vec.mir
Log Message:
-----------
[MIPS GlobalISel] Select MSA vector generic and builtin sub
Select vector G_SUB for MIPS32 with MSA. We have to set bank
for vector operands to fprb and selectImpl will do the rest.
__builtin_msa_subv_<format> will be transformed into G_SUB
in legalizeIntrinsic and selected in the same way.
__builtin_msa_subvi_<format> will be directly selected into
SUBVI_<format> in legalizeIntrinsic.
Differential Revision: https://reviews.llvm.org/D69306
More information about the All-commits
mailing list