[PATCH] D134075: [Lanai] Fix useDeprecatedPositionallyEncodedOperands errors.

James Y Knight via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Sep 25 14:55:31 PDT 2022


This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rG0f99958e7979: [Lanai] Fix useDeprecatedPositionallyEncodedOperands errors. (authored by jyknight).

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D134075/new/

https://reviews.llvm.org/D134075

Files:
  llvm/lib/Target/Lanai/Lanai.td
  llvm/lib/Target/Lanai/LanaiInstrFormats.td


Index: llvm/lib/Target/Lanai/LanaiInstrFormats.td
===================================================================
--- llvm/lib/Target/Lanai/LanaiInstrFormats.td
+++ llvm/lib/Target/Lanai/LanaiInstrFormats.td
@@ -197,8 +197,8 @@
     : InstLanai<outs, ins, asmstr, pattern> {
   bits<5> Rd;
   bits<5> Rs1;
-  bit P;
-  bit Q;
+  bits<1> P;
+  bits<1> Q;
   bits<16> imm16;
   // Dummy variables to allow multiclass definition of RM and RRM
   bits<2> YL;
@@ -259,8 +259,8 @@
   bits<5> Rd;
   bits<5> Rs1;
   bits<5> Rs2;
-  bit P;
-  bit Q;
+  bits<1> P;
+  bits<1> Q;
   bits<3> BBB;
   bits<5> JJJJJ;
   bits<2> YL;
@@ -504,8 +504,8 @@
   bit Y;
   bit S;
   bit E;
-  bit P;
-  bit Q;
+  bits<1> P;
+  bits<1> Q;
   bits<10> imm10;
 
   let Opcode = 0b1111;
Index: llvm/lib/Target/Lanai/Lanai.td
===================================================================
--- llvm/lib/Target/Lanai/Lanai.td
+++ llvm/lib/Target/Lanai/Lanai.td
@@ -21,9 +21,7 @@
 include "LanaiCallingConv.td"
 include "LanaiInstrInfo.td"
 
-def LanaiInstrInfo : InstrInfo {
-  let useDeprecatedPositionallyEncodedOperands = 1;
-}
+def LanaiInstrInfo : InstrInfo;
 
 //===----------------------------------------------------------------------===//
 // Lanai processors supported.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D134075.462771.patch
Type: text/x-patch
Size: 1261 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220925/2e8f8654/attachment.bin>


More information about the llvm-commits mailing list