Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 1 addition & 6 deletions llvm/lib/Target/AArch64/AArch64SystemOperands.td
Original file line number Diff line number Diff line change
Expand Up @@ -630,19 +630,14 @@ def ExactFPImmValues : GenericEnum {

def ExactFPImmsList : GenericTable {
let FilterClass = "ExactFPImm";
let Fields = ["Name", "Enum", "Repr"];
let Fields = ["Enum", "Repr"];
}

def lookupExactFPImmByEnum : SearchIndex {
let Table = ExactFPImmsList;
let Key = ["Enum"];
}

def lookupExactFPImmByRepr : SearchIndex {
let Table = ExactFPImmsList;
let Key = ["Repr"];
}

def : ExactFPImm<"zero", "0.0", 0x0>;
def : ExactFPImm<"half", "0.5", 0x1>;
def : ExactFPImm<"one", "1.0", 0x2>;
Expand Down
9 changes: 4 additions & 5 deletions llvm/lib/Target/AArch64/Utils/AArch64BaseInfo.h
Original file line number Diff line number Diff line change
Expand Up @@ -564,11 +564,10 @@ LLVM_DECLARE_ENUM_AS_BITMASK(TailFoldingOpts,
/* LargestValue */ (long)TailFoldingOpts::Reverse);

namespace AArch64ExactFPImm {
struct ExactFPImm {
const char *Name;
int Enum;
const char *Repr;
};
struct ExactFPImm {
int Enum;
const char *Repr;
};
#define GET_ExactFPImmValues_DECL
#define GET_ExactFPImmsList_DECL
#include "AArch64GenSystemOperands.inc"
Expand Down
Loading