diff options
author | Alexandros Lamprineas <alexandros.lamprineas@arm.com> | 2025-01-08 18:59:07 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-01-08 18:59:07 +0000 |
commit | 8e65940161cd5a7dea5896fe4ae057d4cc07c703 (patch) | |
tree | 24b0c4c139fc781ba88cb4a36ec1044b52346cfc /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | 983a957768c56d71ca710ff43eab4515e47f7d2c (diff) | |
download | llvm-8e65940161cd5a7dea5896fe4ae057d4cc07c703.zip llvm-8e65940161cd5a7dea5896fe4ae057d4cc07c703.tar.gz llvm-8e65940161cd5a7dea5896fe4ae057d4cc07c703.tar.bz2 |
[FMV][AArch64] Simplify version selection according to ACLE. (#121921)
Currently, the more features a version has, the higher its priority is.
We are changing ACLE https://github.com/ARM-software/acle/pull/370 as
follows:
"Among any two versions, the higher priority version is determined by
identifying the highest priority feature that is specified in exactly
one of the versions, and selecting that version."
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
-rw-r--r-- | clang/lib/CodeGen/CodeGenModule.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CodeGenModule.cpp b/clang/lib/CodeGen/CodeGenModule.cpp index 5f15f0f..7db1ed7 100644 --- a/clang/lib/CodeGen/CodeGenModule.cpp +++ b/clang/lib/CodeGen/CodeGenModule.cpp @@ -4241,7 +4241,7 @@ void CodeGenModule::EmitGlobalDefinition(GlobalDecl GD, llvm::GlobalValue *GV) { static void ReplaceUsesOfNonProtoTypeWithRealFunction(llvm::GlobalValue *Old, llvm::Function *NewFn); -static unsigned getFMVPriority(const TargetInfo &TI, +static uint64_t getFMVPriority(const TargetInfo &TI, const CodeGenFunction::FMVResolverOption &RO) { llvm::SmallVector<StringRef, 8> Features{RO.Features}; if (RO.Architecture) |