Fix predicate HasStandardEncoding in MipsInstrInfo.td per suggestion of
authorAkira Hatanaka <ahatanaka@mips.com>
Fri, 25 May 2012 22:15:15 +0000 (22:15 +0000)
committerAkira Hatanaka <ahatanaka@mips.com>
Fri, 25 May 2012 22:15:15 +0000 (22:15 +0000)
Benjamin Kramer.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@157504 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/Mips/MipsInstrInfo.td

index 5acb988e553a1eb6c20e06eefc0865ff271cd76b..49b293c163f519ddf871278ab3af5bf913403586 100644 (file)
@@ -148,9 +148,8 @@ def RelocPIC    :     Predicate<"TM.getRelocationModel() == Reloc::PIC_">,
                       AssemblerPredicate<"FeatureMips32">;
 def NoNaNsFPMath :    Predicate<"TM.Options.NoNaNsFPMath">,
                       AssemblerPredicate<"FeatureMips32">;
-def HasStandardEncoding:
-  Predicate<"Subtarget.hasStandardEncoding()">,
-  AssemblerPredicate<"FeatureMips32,FeatureMips32r2,FeatureMips64"> ;
+def HasStandardEncoding : Predicate<"Subtarget.hasStandardEncoding()">,
+                          AssemblerPredicate<"!FeatureMips16">;
 
 //===----------------------------------------------------------------------===//
 // Instruction format superclass