Skip to content

Commit 2015c0a

Browse files
committed
[AArch64] Remove unused AltName field from PHint GenericTable. NFC
1 parent 0bfee00 commit 2015c0a

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

llvm/lib/Target/AArch64/AArch64SystemOperands.td

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2376,7 +2376,6 @@ def : RWSysReg<"ACTLRALIAS_EL1", 0b11, 0b000, 0b0001, 0b0100, 0b101>;
23762376
class PHint<bits<2> op0, bits<3> op1, bits<4> crn, bits<4> crm,
23772377
bits<3> op2, string name> {
23782378
string Name = name;
2379-
string AltName = name;
23802379
bits<16> Encoding;
23812380
let Encoding{15-14} = op0;
23822381
let Encoding{13-11} = op1;
@@ -2394,7 +2393,7 @@ def PHintValues : GenericEnum {
23942393

23952394
def PHintsList : GenericTable {
23962395
let FilterClass = "PHint";
2397-
let Fields = ["Name", "AltName", "Encoding", "Requires"];
2396+
let Fields = ["Name", "Encoding", "Requires"];
23982397
}
23992398

24002399
def lookupPHintByName : SearchIndex {

llvm/lib/Target/AArch64/Utils/AArch64BaseInfo.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -602,7 +602,6 @@ namespace AArch64PSBHint {
602602
namespace AArch64PHint {
603603
struct PHint {
604604
const char *Name;
605-
const char *AltName;
606605
unsigned Encoding;
607606
FeatureBitset FeaturesRequired;
608607

0 commit comments

Comments
 (0)