Skip to content

Commit

Permalink
[AArch64] Remove unused AltName field from PHint GenericTable. NFC
Browse files Browse the repository at this point in the history
  • Loading branch information
topperc committed Jan 7, 2025
1 parent 0bfee00 commit 2015c0a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
3 changes: 1 addition & 2 deletions llvm/lib/Target/AArch64/AArch64SystemOperands.td
Original file line number Diff line number Diff line change
Expand Up @@ -2376,7 +2376,6 @@ def : RWSysReg<"ACTLRALIAS_EL1", 0b11, 0b000, 0b0001, 0b0100, 0b101>;
class PHint<bits<2> op0, bits<3> op1, bits<4> crn, bits<4> crm,
bits<3> op2, string name> {
string Name = name;
string AltName = name;
bits<16> Encoding;
let Encoding{15-14} = op0;
let Encoding{13-11} = op1;
Expand All @@ -2394,7 +2393,7 @@ def PHintValues : GenericEnum {

def PHintsList : GenericTable {
let FilterClass = "PHint";
let Fields = ["Name", "AltName", "Encoding", "Requires"];
let Fields = ["Name", "Encoding", "Requires"];
}

def lookupPHintByName : SearchIndex {
Expand Down
1 change: 0 additions & 1 deletion llvm/lib/Target/AArch64/Utils/AArch64BaseInfo.h
Original file line number Diff line number Diff line change
Expand Up @@ -602,7 +602,6 @@ namespace AArch64PSBHint {
namespace AArch64PHint {
struct PHint {
const char *Name;
const char *AltName;
unsigned Encoding;
FeatureBitset FeaturesRequired;

Expand Down

0 comments on commit 2015c0a

Please sign in to comment.