[all-commits] [llvm/llvm-project] d1815d: [MIPS GlobalISel] Select MSA vector generic and bu...

petar-avramovic via All-commits all-commits at lists.llvm.org
Wed Oct 23 02:25:04 PDT 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: d1815dacb00d2f5845449a20f6e749119962aa87
      https://github.com/llvm/llvm-project/commit/d1815dacb00d2f5845449a20f6e749119962aa87
  Author: Petar Avramovic <Petar.Avramovic at rt-rk.com>
  Date:   2019-10-23 (Wed, 23 Oct 2019)

  Changed paths:
    M llvm/lib/Target/Mips/MipsInstructionSelector.cpp
    M llvm/lib/Target/Mips/MipsLegalizerInfo.cpp
    M llvm/lib/Target/Mips/MipsRegisterBankInfo.cpp
    A llvm/test/CodeGen/Mips/GlobalISel/instruction-select/mul_vec.mir
    A llvm/test/CodeGen/Mips/GlobalISel/legalizer/mul_vec.mir
    A llvm/test/CodeGen/Mips/GlobalISel/legalizer/mul_vec_builtin.mir
    A llvm/test/CodeGen/Mips/GlobalISel/llvm-ir/mul_vec.ll
    A llvm/test/CodeGen/Mips/GlobalISel/llvm-ir/mul_vec_builtin.ll
    A llvm/test/CodeGen/Mips/GlobalISel/regbankselect/mul_vec.mir

  Log Message:
  -----------
  [MIPS GlobalISel] Select MSA vector generic and builtin mul

Select vector G_MUL for MIPS32 with MSA. We have to set bank
for vector operands to fprb and selectImpl will do the rest.
Manual selection of G_MUL is now done for gprb only.
__builtin_msa_mulv_<format> will be transformed into G_MUL
in legalizeIntrinsic and selected in the same way.

Differential Revision: https://reviews.llvm.org/D69310




More information about the All-commits mailing list