[llvm] [RISCV][GISEL] Do not initialize GlobalISel objects unless needed (PR #98233)
Craig Topper via llvm-commits
llvm-commits at lists.llvm.org
Tue Jul 9 15:52:54 PDT 2024
================
@@ -1330,7 +1330,7 @@ void RISCVInstructionSelector::emitFence(AtomicOrdering FenceOrdering,
namespace llvm {
InstructionSelector *
createRISCVInstructionSelector(const RISCVTargetMachine &TM,
- RISCVSubtarget &Subtarget,
+ const RISCVSubtarget &Subtarget,
----------------
topperc wrote:
Please commit this directly independent of this patch.
https://github.com/llvm/llvm-project/pull/98233
More information about the llvm-commits
mailing list