aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
diff options
context:
space:
mode:
authorAlexandros Lamprineas <alexandros.lamprineas@arm.com>2024-11-28 09:22:05 +0000
committerGitHub <noreply@github.com>2024-11-28 09:22:05 +0000
commit88c2af80fac423fc338027c007e1499333f05ddb (patch)
treeb4ead2c118ffc1c84ae127499c361a4df5148705 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp
parent2c242b98c608021e6768f0369498f5b8b5144d34 (diff)
downloadllvm-88c2af80fac423fc338027c007e1499333f05ddb.zip
llvm-88c2af80fac423fc338027c007e1499333f05ddb.tar.gz
llvm-88c2af80fac423fc338027c007e1499333f05ddb.tar.bz2
[NFC][clang][FMV][TargetInfo] Refactor API for FMV feature priority. (#116257)
Currently we have code with target hooks in CodeGenModule shared between X86 and AArch64 for sorting MultiVersionResolverOptions. Those are used when generating IFunc resolvers for FMV. The RISCV target has different criteria for sorting, therefore it repeats sorting after calling CodeGenFunction::EmitMultiVersionResolver. I am moving the FMV priority logic in TargetInfo, so that it can be implemented by the TargetParser which then makes it possible to query it from llvm. Here is an example why this is handy: https://github.com/llvm/llvm-project/pull/87939
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions