summaryrefslogtreecommitdiff
path: root/lib/Target/Mips/MipsISelLowering.h
diff options
context:
space:
mode:
authorDaniel Sanders <daniel.sanders@imgtec.com>2013-09-23 14:03:12 +0000
committerDaniel Sanders <daniel.sanders@imgtec.com>2013-09-23 14:03:12 +0000
commit9a1aaeb012e593fba977015c5d8b6b1aa41a908c (patch)
tree93dcfcca49d005ae1e12981ca4af46cbc8c6b462 /lib/Target/Mips/MipsISelLowering.h
parenta399d698a84ffd22c7d1f121c24cbc147c6f4e06 (diff)
downloadllvm-9a1aaeb012e593fba977015c5d8b6b1aa41a908c.tar.gz
llvm-9a1aaeb012e593fba977015c5d8b6b1aa41a908c.tar.bz2
llvm-9a1aaeb012e593fba977015c5d8b6b1aa41a908c.tar.xz
[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
Diffstat (limited to 'lib/Target/Mips/MipsISelLowering.h')
-rw-r--r--lib/Target/Mips/MipsISelLowering.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/Target/Mips/MipsISelLowering.h b/lib/Target/Mips/MipsISelLowering.h
index b56ac41955..71a2ddc2d4 100644
--- a/lib/Target/Mips/MipsISelLowering.h
+++ b/lib/Target/Mips/MipsISelLowering.h
@@ -167,6 +167,10 @@ namespace llvm {
// Combined (XOR (OR $a, $b), -1)
VNOR,
+ // Extended vector element extraction
+ VEXTRACT_SEXT_ELT,
+ VEXTRACT_ZEXT_ELT,
+
// Load/Store Left/Right nodes.
LWL = ISD::FIRST_TARGET_MEMORY_OPCODE,
LWR,