[llvm] [RISCV][GISel] Instruction selection for G_JUMP_TABLE and G_BRJT. (PR #71987)
via llvm-commits
llvm-commits at lists.llvm.org
Fri Nov 10 14:07:10 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 =
----------------
tschuett wrote:
X86 uses Has variables:
https://github.com/llvm/llvm-project/blob/0448a1c0dc131835301a59db7138d504b836a591/llvm/lib/Target/X86/GISel/X86InstructionSelector.cpp#L444
https://github.com/llvm/llvm-project/pull/71987
More information about the llvm-commits
mailing list