llvm-project
80420229 - [FMV][AArch64] Don't optimize backward compatible features in resolver. (#90928)

Commit
2 years ago
[FMV][AArch64] Don't optimize backward compatible features in resolver. (#90928) For arch64 features, such as Branch Target Identification or MTE (Memory Tagging Extension), compatible with targets that lack their support we may encounter scenarios where a binary compiled with MTE for example is executed on both MTE and non-MTE hardware and we still need to detect at runtime whether the MTE feature is available to choose the appropriate function version. So, we cannot optimize the function multi versioning resolver by removing checks for these features enabled for the target during compilation.
Author
Parents
Loading