From 7779132b3d613175411d9579f9d6d3edc5803c72 Mon Sep 17 00:00:00 2001 From: Matt Arsenault Date: Mon, 17 Feb 2020 12:08:39 -0500 Subject: [PATCH] GlobalISel: Fix missing const --- include/llvm/CodeGen/GlobalISel/CombinerInfo.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/llvm/CodeGen/GlobalISel/CombinerInfo.h b/include/llvm/CodeGen/GlobalISel/CombinerInfo.h index ad645a46bbe..e95a5e21f83 100644 --- a/include/llvm/CodeGen/GlobalISel/CombinerInfo.h +++ b/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),