[llvm] [RISCV][GlobalISel] Create generic instructions to handle legalization and selection of G_GLOBAL_VALUE for medlow code model (PR #69562)
Craig Topper via llvm-commits
llvm-commits at lists.llvm.org
Wed Oct 18 22:38:19 PDT 2023
================
@@ -164,6 +164,25 @@ bool RISCVInstructionSelector::select(MachineInstr &MI) {
preISelLower(MI, MIB, MRI);
const unsigned Opc = MI.getOpcode();
+ switch(Opc) {
----------------
topperc wrote:
Why can't this be part of the normal switch?
https://github.com/llvm/llvm-project/pull/69562
More information about the llvm-commits
mailing list