llvm-project
3cc852ec - [FMV][AArch64] Expand feature dependencies using AArch64::ExtensionSet. (#113281)

Commit
1 year ago
[FMV][AArch64] Expand feature dependencies using AArch64::ExtensionSet. (#113281) Currently we maintain a hand written list of subtarget features which we are implied for a given FMV feature. It is more robust to expand such dependencies using ExtensionDependency from TargetParser, since that is generated by tablegen. For this to work each FMV feature must have a corresponding SubtargetFeature in place. FMV features which didn't satisfy this criteria have been removed from the ACLE specification (https://github.com/ARM-software/acle/pull/315). However, I deliberately marked the ArchExtKind in FMVInfo structure as std::optional in case we decide to break this rule in the future. I have also added the missing dependencies: * FEAT_DPB2 -> FEAT_DPB * FEAT_FlagM2 -> FEAT_FlagM
Author
Parents
Loading