[PATCH] D72649: [PowerPC][NFC] Reclaim TSFlags bit 6

Jinsong Ji via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 21 07:07:50 PST 2020


This revision was automatically updated to reflect the committed changes.
Closed by commit rGd7032bc3c009: [PowerPC][NFC] Reclaim TSFlags bit 6 (authored by jsji).

Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D72649

Files:
  llvm/lib/Target/PowerPC/PPCInstrFormats.td
  llvm/lib/Target/PowerPC/PPCInstrInfo.h


Index: llvm/lib/Target/PowerPC/PPCInstrInfo.h
===================================================================
--- llvm/lib/Target/PowerPC/PPCInstrInfo.h
+++ llvm/lib/Target/PowerPC/PPCInstrInfo.h
@@ -65,7 +65,7 @@
   NewDef_Shift = 6,
 
   /// This instruction is an X-Form memory operation.
-  XFormMemOp = 0x1 << (NewDef_Shift+1)
+  XFormMemOp = 0x1 << NewDef_Shift
 };
 } // end namespace PPCII
 
Index: llvm/lib/Target/PowerPC/PPCInstrFormats.td
===================================================================
--- llvm/lib/Target/PowerPC/PPCInstrFormats.td
+++ llvm/lib/Target/PowerPC/PPCInstrFormats.td
@@ -39,7 +39,7 @@
 
   // Indicate that this instruction is of type X-Form Load or Store
   bits<1> XFormMemOp = 0;
-  let TSFlags{7}  = XFormMemOp;
+  let TSFlags{6}  = XFormMemOp;
 
   // Fields used for relation models.
   string BaseName = "";


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D72649.239314.patch
Type: text/x-patch
Size: 864 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200121/00522178/attachment.bin>


More information about the llvm-commits mailing list