[mips][msa] Pseudo instructions require HasMSA too. Inherit from MSAPseudo instead of MipsPseudo

There's no test case for this commit. This is because it is doubtful that the
incorrect behaviour can actually trigger. When MSA is not enabled, the type
legalizer should have eliminated all occurrences of patterns the affected
pseudo-instruction could possibly match before instruction selection occurs.



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@195252 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Daniel Sanders
2013-11-20 14:32:28 +00:00
parent e4e260e6a7
commit 128d90ab4a
2 changed files with 18 additions and 18 deletions

View File

@@ -23,7 +23,7 @@ class MSASpecial : MSAInst {
let Inst{31-26} = 0b000000;
}
class PseudoMSA<dag outs, dag ins, list<dag> pattern,
class MSAPseudo<dag outs, dag ins, list<dag> pattern,
InstrItinClass itin = IIPseudo>:
MipsPseudo<outs, ins, pattern, itin> {
let Predicates = [HasMSA];