[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 00:13:59 PDT 2023
craig.topper created this revision.
craig.topper added reviewers: jrtc27, asb, VincentWu.
Herald added subscribers: jobnoorman, luke, vkmr, frasercrmck, evandro, luismarques, apazos, sameer.abuasal, s.egerton, Jim, benna, psnobl, jocewei, PkmX, the_o, brucehoult, MartinMosbeck, rogfer01, edward-jones, zzheng, shiva0217, kito-cheng, niosHD, sabuasal, simoncook, johnrusso, rbar, hiraditya, arichardson.
Herald added a project: All.
craig.topper requested review of this revision.
Herald added subscribers: pcwang-thead, eopXD, MaskRay.
Herald added a project: LLVM.
This instruction updates the RA register.
Repository:
rG LLVM Github Monorepo
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.519754.patch
Type: text/x-patch
Size: 417 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230505/20d4e261/attachment.bin>
More information about the llvm-commits
mailing list