aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Serialization/ModuleManager.cpp
diff options
context:
space:
mode:
authorDeric C. <cheung.deric@gmail.com>2025-05-12 14:23:37 -0700
committerGitHub <noreply@github.com>2025-05-12 14:23:37 -0700
commit6b7b289038acb297f433fe1c0cb66158277e9974 (patch)
treec0c2ff52c76c6507e68ec18a77d6e294ac86203c /clang/lib/Serialization/ModuleManager.cpp
parent96dfd1e61d99d3d29251a1d371af437645f324c3 (diff)
downloadllvm-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