[llvm] [RISCV][GISel] Instruction selection for G_JUMP_TABLE and G_BRJT. (PR #71987)

Craig Topper via llvm-commits llvm-commits at lists.llvm.org
Fri Nov 10 14:28:57 PST 2023


================
@@ -405,6 +410,49 @@ bool RISCVInstructionSelector::select(MachineInstr &MI) {
     MI.eraseFromParent();
     return constrainSelectedInstRegOperands(*Bcc, TII, TRI, RBI);
   }
+  case TargetOpcode::G_BRJT: {
+    unsigned EntrySize =
----------------
topperc wrote:

@tschuett I'm not sure what you're suggesting I do in this patch?

https://github.com/llvm/llvm-project/pull/71987


More information about the llvm-commits mailing list