[all-commits] [llvm/llvm-project] 1df2e0: [clang codegen] Emit int TBAA metadata on FP math ...
Allen via All-commits
all-commits at lists.llvm.org
Thu Jul 18 20:19:42 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 1df2e0c344f0ddf7e09a9c89eba6bbee52142344
https://github.com/llvm/llvm-project/commit/1df2e0c344f0ddf7e09a9c89eba6bbee52142344
Author: Allen <zhongyunde at huawei.com>
Date: 2024-07-19 (Fri, 19 Jul 2024)
Changed paths:
M clang/lib/CodeGen/CGBuiltin.cpp
M clang/test/CodeGen/math-libcalls-tbaa.cpp
Log Message:
-----------
[clang codegen] Emit int TBAA metadata on FP math libcall expf (#96025)
Base on the discussion
https://discourse.llvm.org/t/fp-can-we-add-pure-attribute-for-math-library-functions-default/79459,
math libcalls set errno, so it should emit "int" TBAA metadata on FP
libcalls to solve the alias issue.
Note: Only add support for expf in this PR
Fix https://github.com/llvm/llvm-project/issues/86635
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list