summaryrefslogtreecommitdiff
path: root/lib/Target/X86/Utils/X86ShuffleDecode.h
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@gmail.com>2011-11-29 07:49:05 +0000
committerCraig Topper <craig.topper@gmail.com>2011-11-29 07:49:05 +0000
commit36e36ace77cf84d7c8326957925550624b3fc89c (patch)
treed765b1b9b9819b4c4e7014d39c7a1500a4b209f3 /lib/Target/X86/Utils/X86ShuffleDecode.h
parent5d2f8c31556b6a5ce29d2cad314bc48af879c5b3 (diff)
downloadllvm-36e36ace77cf84d7c8326957925550624b3fc89c.tar.gz
llvm-36e36ace77cf84d7c8326957925550624b3fc89c.tar.bz2
llvm-36e36ace77cf84d7c8326957925550624b3fc89c.tar.xz
Fix issues in shuffle decoding around VPERM* instructions. Fix shuffle decoding for VSHUFPS/D for 256-bit types. Add pattern matching for memory forms of VPERMILPS/VPERMILPD.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@145390 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/X86/Utils/X86ShuffleDecode.h')
-rw-r--r--lib/Target/X86/Utils/X86ShuffleDecode.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Target/X86/Utils/X86ShuffleDecode.h b/lib/Target/X86/Utils/X86ShuffleDecode.h
index 35f6530d21..48b9ef2f8b 100644
--- a/lib/Target/X86/Utils/X86ShuffleDecode.h
+++ b/lib/Target/X86/Utils/X86ShuffleDecode.h
@@ -64,8 +64,8 @@ void DecodePUNPCKLMask(EVT VT,
void DecodePUNPCKHMask(unsigned NElts,
SmallVectorImpl<unsigned> &ShuffleMask);
-void DecodeSHUFPSMask(unsigned NElts, unsigned Imm,
- SmallVectorImpl<unsigned> &ShuffleMask);
+void DecodeSHUFPMask(EVT VT, unsigned Imm,
+ SmallVectorImpl<unsigned> &ShuffleMask);
/// DecodeUNPCKHPMask - This decodes the shuffle masks for unpckhps/unpckhpd
/// etc. VT indicates the type of the vector allowing it to handle different