[PATCH] D149933: [RISCV] Add X1 as implicit def of cm.jalt.

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri May 5 10:09:10 PDT 2023


This revision was automatically updated to reflect the committed changes.
Closed by commit rG913b95fb8085: [RISCV] Add X1 as implicit def of cm.jalt. (authored by craig.topper).

Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D149933

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


Index: llvm/lib/Target/RISCV/RISCVInstrInfoZc.td
===================================================================
--- llvm/lib/Target/RISCV/RISCVInstrInfoZc.td
+++ llvm/lib/Target/RISCV/RISCVInstrInfoZc.td
@@ -142,6 +142,7 @@
   let Inst{6-2} = index;
 }
 
+let Defs = [X1] in
 def CM_JALT : RVInst16CJ<0b101, 0b10, (outs), (ins uimm8ge32:$index),
                          "cm.jalt", "$index">{
   bits<8> index;


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D149933.519916.patch
Type: text/x-patch
Size: 417 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230505/e91abd21/attachment.bin>


More information about the llvm-commits mailing list