Skip to content

Commit 79bcd4a

Browse files
committed
AMDGPU: Remove FeatureLocalMemorySize0
There's no reason to make this an explicit feature, since it's implied by the lack of a feature with a size.
1 parent 2fbd254 commit 79bcd4a

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

llvm/lib/Target/AMDGPU/AMDGPUFeatures.td

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ class SubtargetFeatureLocalMemorySize <int Value> : SubtargetFeature<
2525
"The size of local memory in bytes"
2626
>;
2727

28-
def FeatureLocalMemorySize0 : SubtargetFeatureLocalMemorySize<0>;
2928
def FeatureLocalMemorySize32768 : SubtargetFeatureLocalMemorySize<32768>;
3029
def FeatureLocalMemorySize65536 : SubtargetFeatureLocalMemorySize<65536>;
3130

llvm/lib/Target/AMDGPU/R600Processors.td

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,11 +45,11 @@ class R600SubtargetFeatureGeneration <string Value, string FeatureName,
4545
SubtargetFeatureGeneration <Value, FeatureName, "R600Subtarget", Implies>;
4646

4747
def FeatureR600 : R600SubtargetFeatureGeneration<"R600", "r600",
48-
[FeatureR600ALUInst, FeatureFetchLimit8, FeatureLocalMemorySize0]
48+
[FeatureR600ALUInst, FeatureFetchLimit8]
4949
>;
5050

5151
def FeatureR700 : R600SubtargetFeatureGeneration<"R700", "r700",
52-
[FeatureFetchLimit16, FeatureLocalMemorySize0]
52+
[FeatureFetchLimit16]
5353
>;
5454

5555
def FeatureEvergreen : R600SubtargetFeatureGeneration<"EVERGREEN", "evergreen",

0 commit comments

Comments
 (0)