Skip to content

Commit 5e9eefe

Browse files
committed
We can now make the Helper member const.
This removes a TODO remark and the need to make Helper explicitly mutable.
1 parent 2da670a commit 5e9eefe

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

llvm/lib/Target/AMDGPU/AMDGPUPreLegalizerCombiner.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,7 @@ class AMDGPUPreLegalizerCombinerImpl : public Combiner {
4545
protected:
4646
const AMDGPUPreLegalizerCombinerImplRuleConfig &RuleConfig;
4747
const GCNSubtarget &STI;
48-
// TODO: Make CombinerHelper methods const.
49-
mutable AMDGPUCombinerHelper Helper;
48+
const AMDGPUCombinerHelper Helper;
5049

5150
public:
5251
AMDGPUPreLegalizerCombinerImpl(

0 commit comments

Comments
 (0)