[llvm] r179433 - [mips] Override TargetLoweringBase::isShuffleMaskLegal.
Akira Hatanaka
ahatanaka at mips.com
Fri Apr 12 17:45:03 PDT 2013
Author: ahatanak
Date: Fri Apr 12 19:45:02 2013
New Revision: 179433
URL: http://llvm.org/viewvc/llvm-project?rev=179433&view=rev
Log:
[mips] Override TargetLoweringBase::isShuffleMaskLegal.
Modified:
llvm/trunk/lib/Target/Mips/MipsSEISelLowering.h
Modified: llvm/trunk/lib/Target/Mips/MipsSEISelLowering.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/Mips/MipsSEISelLowering.h?rev=179433&r1=179432&r2=179433&view=diff
==============================================================================
--- llvm/trunk/lib/Target/Mips/MipsSEISelLowering.h (original)
+++ llvm/trunk/lib/Target/Mips/MipsSEISelLowering.h Fri Apr 12 19:45:02 2013
@@ -31,6 +31,11 @@ namespace llvm {
virtual MachineBasicBlock *
EmitInstrWithCustomInserter(MachineInstr *MI, MachineBasicBlock *MBB) const;
+ virtual bool isShuffleMaskLegal(const SmallVectorImpl<int> &Mask,
+ EVT VT) const {
+ return false;
+ }
+
virtual const TargetRegisterClass *getRepRegClassFor(MVT VT) const {
if (VT == MVT::Untyped)
return Subtarget->hasDSP() ? &Mips::ACRegsDSPRegClass :
More information about the llvm-commits
mailing list