diff options
author | Deric C. <cheung.deric@gmail.com> | 2025-05-12 14:23:37 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-05-12 14:23:37 -0700 |
commit | 6b7b289038acb297f433fe1c0cb66158277e9974 (patch) | |
tree | c0c2ff52c76c6507e68ec18a77d6e294ac86203c /clang/lib/Serialization/ModuleManager.cpp | |
parent | 96dfd1e61d99d3d29251a1d371af437645f324c3 (diff) | |
download | llvm-6b7b289038acb297f433fe1c0cb66158277e9974.zip llvm-6b7b289038acb297f433fe1c0cb66158277e9974.tar.gz llvm-6b7b289038acb297f433fe1c0cb66158277e9974.tar.bz2 |
[DirectX] Disable all libcalls for DXIL in TargetLibraryInfo.cpp (#138991)
Fixes #138787
To the best of my knowledge, DXIL does not (and should not) support any
of the libcalls in
[`TargetLibraryInfo.def`](https://github.com/llvm/llvm-project/blob/main/llvm/include/llvm/Analysis/TargetLibraryInfo.def).
Math libcalls are not used in HLSL and also do not have lowerings to
DXIL. (The current implementation of math functions are done via
intrinsics.)
If there is a mistake with disabling all libcalls, then the libcalls we
need can be re-enabled in a follow-up PR.
---------
Co-authored-by: Justin Bogner <mail@justinbogner.com>
Diffstat (limited to 'clang/lib/Serialization/ModuleManager.cpp')
0 files changed, 0 insertions, 0 deletions