aboutsummaryrefslogtreecommitdiff
path: root/llvm/unittests/Support/KnownBitsTest.cpp
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2024-03-12 12:32:48 +0200
committerGitHub <noreply@github.com>2024-03-12 12:32:48 +0200
commit5a100551d5652da586800c67edd4ccb3b18b10dc (patch)
tree1262daa11210d25f9deace512e167432a53f6256 /llvm/unittests/Support/KnownBitsTest.cpp
parent23ffb2bdb96cf5a8eebce86b1ab21acf88979661 (diff)
downloadllvm-5a100551d5652da586800c67edd4ccb3b18b10dc.zip
llvm-5a100551d5652da586800c67edd4ccb3b18b10dc.tar.gz
llvm-5a100551d5652da586800c67edd4ccb3b18b10dc.tar.bz2
[Analysis] Treat ldexpf() as missing on MinGW (#84748)
The function does exist, but it is a plain wrapper over regular ldexp(), so there's no benefit in calling it over regular ldexp(). Therefore, treat it as missing. This fixes builds of Wine for aarch64 with Clang in mingw mode, which regressed recently in 8d976c7f20fe8d92fe6f54af411594e15fac25ae. That commit unlocked transforming calls to ldexp into ldexpf, for some codepaths within Wine. Wine can use compilers in mingw mode without the regular mingw runtime libraries, which caused this to fail. (However, if the transformation to use ldexpf() would have made sense, the right fix would have been for Wine to provide a similar ldexpf->ldexp wrapper just like mingw does.)
Diffstat (limited to 'llvm/unittests/Support/KnownBitsTest.cpp')
0 files changed, 0 insertions, 0 deletions