mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-23 14:25:07 +00:00
Implement review feedback for vector shuffle work.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@70372 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -329,7 +329,8 @@ public:
|
||||
/// support *some* VECTOR_SHUFFLE operations, those with specific masks.
|
||||
/// By default, if a target supports the VECTOR_SHUFFLE node, all mask values
|
||||
/// are assumed to be legal.
|
||||
virtual bool isShuffleMaskLegal(SmallVectorImpl<int> &Mask, MVT VT) const {
|
||||
virtual bool isShuffleMaskLegal(const SmallVectorImpl<int> &Mask,
|
||||
MVT VT) const {
|
||||
return true;
|
||||
}
|
||||
|
||||
@@ -337,7 +338,8 @@ public:
|
||||
/// used by Targets can use this to indicate if there is a suitable
|
||||
/// VECTOR_SHUFFLE that can be used to replace a VAND with a constant
|
||||
/// pool entry.
|
||||
virtual bool isVectorClearMaskLegal(SmallVectorImpl<int> &M, MVT VT) const {
|
||||
virtual bool isVectorClearMaskLegal(const SmallVectorImpl<int> &Mask,
|
||||
MVT VT) const {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user