[PATCH] D143103: [RISCV] Add CoveredBySubRegs to the X*_PD register class.

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 2 10:03:54 PST 2023


This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rG0b2648bac1c4: [RISCV] Add CoveredBySubRegs to the X*_PD register class. (authored by craig.topper).

Changed prior to commit:
  https://reviews.llvm.org/D143103?vs=494041&id=494349#toc

Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D143103

Files:
  llvm/lib/Target/RISCV/RISCVRegisterInfo.td


Index: llvm/lib/Target/RISCV/RISCVRegisterInfo.td
===================================================================
--- llvm/lib/Target/RISCV/RISCVRegisterInfo.td
+++ llvm/lib/Target/RISCV/RISCVRegisterInfo.td
@@ -547,6 +547,7 @@
                                           [Reg, RegP1],
                                           Reg.AltNames> {
       let SubRegIndices = [sub_32, sub_32_hi];
+      let CoveredBySubRegs = 1;
     }
   }
 }


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D143103.494349.patch
Type: text/x-patch
Size: 444 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230202/33722945/attachment.bin>


More information about the llvm-commits mailing list