Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
LGTM, thanks for making these changes.
llvm/include/llvm/TargetParser/AArch64TargetParser.h | ||
---|---|---|
570–571 | CPUFeatures has 60 entries, which means the return value here will overflow if we add a few more entries. We should probably have a static_assert(FEAT_MAX <= 64) in the implementation. Or should the CPUFeatures values actually be bitmasks, like ArchExtKind? |
llvm/include/llvm/TargetParser/AArch64TargetParser.h | ||
---|---|---|
570–571 | static_assert added. I think changing values to masks could be done separately, it would be good to have if we eventually come to CPUFeatures and ArchExtKind unification. |