aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Target/WebAssembly/WebAssemblyTargetObjectFile.cpp
diff options
context:
space:
mode:
authorCorentin Jabot <corentinjabot@gmail.com>2025-07-18 18:05:18 +0300
committerGitHub <noreply@github.com>2025-07-18 17:05:18 +0200
commit724cfce5801829340b240ba62e82a7e7199e971d (patch)
treed0627dc919d880b8aeec58dedad0dbd4d22ecced /llvm/lib/Target/WebAssembly/WebAssemblyTargetObjectFile.cpp
parent151fffccf1340d8a2800664cbcaaa579ba772a4c (diff)
downloadllvm-724cfce5801829340b240ba62e82a7e7199e971d.zip
llvm-724cfce5801829340b240ba62e82a7e7199e971d.tar.gz
llvm-724cfce5801829340b240ba62e82a7e7199e971d.tar.bz2
[Clang] Do not assume a perfect match is a better match than a non-template non-perfect match (#149504)
This fixes a regression introduced by the "perfect match" overload resolution mechanism introduced in 8c5a307. [This does regress the performance noticeably (-0.7% for a stage 2 build)](https://llvm-compile-time-tracker.com/compare.php?from=42d2ae1034b287eb60563c370dbf52c59b66db20&to=82303bbc3e003c937ded498ac9f94f49a3fc3d90&stat=instructions:u), however, the original patch had a +4% performance impact, so we are only losing some of the gain, and this has the benefit of being correct and more robust. Fixes #147374
Diffstat (limited to 'llvm/lib/Target/WebAssembly/WebAssemblyTargetObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions