[llvm] [GlobalOpt][FMV] Fix static resolution of calls. (PR #160011)
Alexandros Lamprineas via llvm-commits
llvm-commits at lists.llvm.org
Thu Sep 25 03:05:40 PDT 2025
labrinea wrote:
Okay, fixed now and added a test. I believe this patch should be able to cope with explicit version priority set by the user, perhaps with the only exception being versions that become unselectable. For example in `__attribute__((target_clones("mops;priority=3", "sve;priority=2", "mops+sve2;priority=1", "default")))` the `mops+sve2`version cannot be selected and may perhaps confuse the GlobalOpt algorithm, but I think we could eliminate unselectable versions earlier, at the point of resolver emission. Thoughts?
https://github.com/llvm/llvm-project/pull/160011
More information about the llvm-commits
mailing list