[mips][msa] Added support for matching insert and copy from normal IR (i.e. not intri...
authorDaniel Sanders <daniel.sanders@imgtec.com>
Mon, 23 Sep 2013 14:03:12 +0000 (14:03 +0000)
committerDaniel Sanders <daniel.sanders@imgtec.com>
Mon, 23 Sep 2013 14:03:12 +0000 (14:03 +0000)
commit9a1aaeb012e593fba977015c5d8b6b1aa41a908c
tree93dcfcca49d005ae1e12981ca4af46cbc8c6b462
parenta399d698a84ffd22c7d1f121c24cbc147c6f4e06
[mips][msa] Added support for matching insert and copy from normal IR (i.e. not intrinsics)

Changes to MIPS SelectionDAG:
* Added nodes VEXTRACT_[SZ]EXT_ELT to represent extract and extend in a single
  operation and implemented the DAG combines necessary to fold sign/zero
  extends into the extract.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@191199 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/IR/IntrinsicsMips.td
lib/Target/Mips/MipsISelLowering.cpp
lib/Target/Mips/MipsISelLowering.h
lib/Target/Mips/MipsMSAInstrInfo.td
lib/Target/Mips/MipsSEISelLowering.cpp
lib/Target/Mips/MipsSEISelLowering.h
test/CodeGen/Mips/msa/basic_operations.ll