[PATCH] D156196: [RISCV] Add isAllocatable=0 to VCSR register class.

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 25 09:00:04 PDT 2023


This revision was automatically updated to reflect the committed changes.
Closed by commit rG12832c1773f5: [RISCV] Add isAllocatable=0 to VCSR register class. (authored by craig.topper).

Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D156196

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
@@ -461,6 +461,7 @@
 def VCSR : RegisterClass<"RISCV", [XLenVT], 32,
                           (add VTYPE, VL, VLENB)> {
   let RegInfos = XLenRI;
+  let isAllocatable = 0;
 }
 
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D156196.544000.patch
Type: text/x-patch
Size: 393 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230725/ab137672/attachment.bin>


More information about the llvm-commits mailing list