diff options
author | Chris Lattner <sabre@nondot.org> | 2006-04-06 22:02:42 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2006-04-06 22:02:42 +0000 |
commit | caad163496a3ad207a75009f4ad16bae1b1527ae (patch) | |
tree | 115de00fa8fb16c37672376db924b209f5ae4f2f /lib/Target/PowerPC/PPCISelLowering.h | |
parent | cc8b1ac5cb9d61fade8e07b269054e83ea8ecfdb (diff) | |
download | llvm-caad163496a3ad207a75009f4ad16bae1b1527ae.tar.gz llvm-caad163496a3ad207a75009f4ad16bae1b1527ae.tar.bz2 llvm-caad163496a3ad207a75009f4ad16bae1b1527ae.tar.xz |
Add support for matching vmrg(x,x) patterns
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27463 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/PowerPC/PPCISelLowering.h')
-rw-r--r-- | lib/Target/PowerPC/PPCISelLowering.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Target/PowerPC/PPCISelLowering.h b/lib/Target/PowerPC/PPCISelLowering.h index c2666ed7af..559256b4d1 100644 --- a/lib/Target/PowerPC/PPCISelLowering.h +++ b/lib/Target/PowerPC/PPCISelLowering.h @@ -112,11 +112,11 @@ namespace llvm { /// isVMRGLShuffleMask - Return true if this is a shuffle mask suitable for /// a VRGL* instruction with the specified unit size (1,2 or 4 bytes). - bool isVMRGLShuffleMask(SDNode *N, unsigned UnitSize); + bool isVMRGLShuffleMask(SDNode *N, unsigned UnitSize, bool isUnary); /// isVMRGHShuffleMask - Return true if this is a shuffle mask suitable for /// a VRGH* instruction with the specified unit size (1,2 or 4 bytes). - bool isVMRGHShuffleMask(SDNode *N, unsigned UnitSize); + bool isVMRGHShuffleMask(SDNode *N, unsigned UnitSize, bool isUnary); /// isVSLDOIShuffleMask - If this is a vsldoi shuffle mask, return the shift /// amount, otherwise return -1. |