[PATCH] D147784: [RISCV] Remove is*Branch instruction flags from C_JR

Job Noorman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 11 00:28:56 PDT 2023


This revision was automatically updated to reflect the committed changes.
Closed by commit rG4acae5b2ade5: [RISCV] Remove is*Branch instruction flags from C_JR (authored by jobnoorman).

Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D147784

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


Index: llvm/lib/Target/RISCV/RISCVInstrInfoC.td
===================================================================
--- llvm/lib/Target/RISCV/RISCVInstrInfoC.td
+++ llvm/lib/Target/RISCV/RISCVInstrInfoC.td
@@ -552,10 +552,8 @@
 let hasSideEffects = 0, mayLoad = 0, mayStore = 0 in
 def C_JR : RVInst16CR<0b1000, 0b10, (outs), (ins GPRNoX0:$rs1),
                       "c.jr", "$rs1">, Sched<[WriteJmpReg]> {
-  let isBranch = 1;
   let isBarrier = 1;
   let isTerminator = 1;
-  let isIndirectBranch = 1;
   let rs2 = 0;
 }
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D147784.512354.patch
Type: text/x-patch
Size: 527 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230411/957df80d/attachment.bin>


More information about the llvm-commits mailing list