diff options
author | Daniel Sanders <daniel.sanders@imgtec.com> | 2013-09-24 12:18:31 +0000 |
---|---|---|
committer | Daniel Sanders <daniel.sanders@imgtec.com> | 2013-09-24 12:18:31 +0000 |
commit | 89d13c1b380218d381be035eb5e4d83dcbc391cc (patch) | |
tree | 14ae72a2db43161220cf3eaba2cc1f1124a731b6 /lib/Target/Mips/MipsISelLowering.h | |
parent | 38a10ff063971c2f7f7384cceba3253bca32e27a (diff) | |
download | llvm-89d13c1b380218d381be035eb5e4d83dcbc391cc.tar.gz llvm-89d13c1b380218d381be035eb5e4d83dcbc391cc.tar.bz2 llvm-89d13c1b380218d381be035eb5e4d83dcbc391cc.tar.xz |
[mips][msa] Added support for matching max, maxi, min, mini from normal IR (i.e. not intrinsics)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@191291 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/Mips/MipsISelLowering.h')
-rw-r--r-- | lib/Target/Mips/MipsISelLowering.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/Target/Mips/MipsISelLowering.h b/lib/Target/Mips/MipsISelLowering.h index 730e97f354..0d588c1d2a 100644 --- a/lib/Target/Mips/MipsISelLowering.h +++ b/lib/Target/Mips/MipsISelLowering.h @@ -166,6 +166,12 @@ namespace llvm { VCLT_S, VCLT_U, + // Element-wise vector max/min. + VSMAX, + VSMIN, + VUMAX, + VUMIN, + // Special case of BUILD_VECTOR where all elements are the same. VSPLAT, // Special case of VSPLAT where the result is v2i64, the operand is |