[PATCH] D18147: [mips] Make simm6 consistent with the rest. NFC.

Daniel Sanders via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 14 07:52:07 PDT 2016


dsanders created this revision.
dsanders added a reviewer: vkalintiris.
dsanders added a subscriber: llvm-commits.
dsanders added a dependency: D18145: [mips] Range check simm7..
Herald added a subscriber: dsanders.

Depends on D18145

http://reviews.llvm.org/D18147

Files:
  lib/Target/Mips/MipsInstrInfo.td

Index: lib/Target/Mips/MipsInstrInfo.td
===================================================================
--- lib/Target/Mips/MipsInstrInfo.td
+++ lib/Target/Mips/MipsInstrInfo.td
@@ -563,10 +563,6 @@
 
 def imm64: Operand<i64>;
 
-def simm6 : Operand<i32> {
-  let ParserMatchClass = ConstantSImm6AsmOperandClass;
-  let OperandType = "OPERAND_IMMEDIATE";
-}
 def simm9 : Operand<i32>;
 def simm10 : Operand<i32>;
 def simm11 : Operand<i32>;
@@ -735,7 +731,7 @@
   }
 
 // Signed operands
-foreach I = {4, 5} in
+foreach I = {4, 5, 6} in
   def simm # I : Operand<i32> {
     let DecoderMethod = "DecodeSImmWithOffsetAndScale<" # I # ">";
     let ParserMatchClass =


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D18147.50594.patch
Type: text/x-patch
Size: 670 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160314/4a02d316/attachment.bin>


More information about the llvm-commits mailing list