Skip to content

Commit 43eb5e2

Browse files
committed
[RISCV] Remove unused Predicates for I and E extensions. NFC
1 parent 9099f6f commit 43eb5e2

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

llvm/lib/Target/RISCV/RISCVFeatures.td

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,7 @@
1515
def FeatureStdExtI
1616
: SubtargetFeature<"i", "HasStdExtI", "true",
1717
"'I' (Base Integer Instruction Set)">;
18-
def HasStdExtI : Predicate<"Subtarget->hasStdExtI()">,
19-
AssemblerPredicate<(all_of FeatureStdExtI),
20-
"'I' (Base Integer Instruction Set)">;
18+
2119
def FeatureStdExtZic64b
2220
: SubtargetFeature<"zic64b", "HasStdExtZic64b", "true",
2321
"'Zic64b' (Cache Block Size Is 64 Bytes)">;
@@ -1170,8 +1168,6 @@ def RV64 : HwMode<"+64bit", [IsRV64]>;
11701168
def FeatureRVE
11711169
: SubtargetFeature<"e", "IsRVE", "true",
11721170
"Implements RV{32,64}E (provides 16 rather than 32 GPRs)">;
1173-
def IsRVE : Predicate<"Subtarget->isRVE()">,
1174-
AssemblerPredicate<(all_of FeatureRVE)>;
11751171

11761172
def FeatureRelax
11771173
: SubtargetFeature<"relax", "EnableLinkerRelax", "true",

0 commit comments

Comments
 (0)