[llvm] f9b45f8 - GlobalISel: Fix missing const

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 17 09:30:57 PST 2020


Author: Matt Arsenault
Date: 2020-02-17T09:30:41-08:00
New Revision: f9b45f857ff1e8d832922778b5f12daab9d43638

URL: https://github.com/llvm/llvm-project/commit/f9b45f857ff1e8d832922778b5f12daab9d43638
DIFF: https://github.com/llvm/llvm-project/commit/f9b45f857ff1e8d832922778b5f12daab9d43638.diff

LOG: GlobalISel: Fix missing const

Added: 
    

Modified: 
    llvm/include/llvm/CodeGen/GlobalISel/CombinerInfo.h

Removed: 
    


################################################################################
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),


        


More information about the llvm-commits mailing list