[llvm] [RISCV][GISel] Move G_BRJT expansion to legalization (PR #73711)
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Wed Dec 6 21:04:42 PST 2023
================
@@ -317,6 +318,61 @@ bool RISCVLegalizerInfo::legalizeShlAshrLshr(
return true;
}
+bool RISCVLegalizerInfo::legalizeBRJT(MachineInstr &MI,
+ MachineIRBuilder &MIRBuilder) const {
+ MachineRegisterInfo &MRI = *MIRBuilder.getMRI();
----------------
arsenm wrote:
Can all of this except the Custom32 case go into the generic legalizer?
https://github.com/llvm/llvm-project/pull/73711
More information about the llvm-commits
mailing list