diff --git a/llvm/include/llvm/CodeGen/GlobalISel/CombinerInfo.h b/llvm/include/llvm/CodeGen/GlobalISel/CombinerInfo.h index ad645a46bbe6..e95a5e21f832 100644 --- a/llvm/include/llvm/CodeGen/GlobalISel/CombinerInfo.h +++ b/llvm/include/llvm/CodeGen/GlobalISel/CombinerInfo.h @@ -27,7 +27,7 @@ class MachineRegisterInfo; class CombinerInfo { public: CombinerInfo(bool AllowIllegalOps, bool ShouldLegalizeIllegal, - LegalizerInfo *LInfo, bool OptEnabled, bool OptSize, + const LegalizerInfo *LInfo, bool OptEnabled, bool OptSize, bool MinSize) : IllegalOpsAllowed(AllowIllegalOps), LegalizeIllegalOps(ShouldLegalizeIllegal), LInfo(LInfo),