[clang] [clang codegen] Emit int TBAA metadata on more FP math libcalls (PR #100302)
Matt Arsenault via cfe-commits
cfe-commits at lists.llvm.org
Wed Jul 24 04:11:46 PDT 2024
================
@@ -692,23 +692,22 @@ static RValue emitLibraryCall(CodeGenFunction &CGF, const FunctionDecl *FD,
RValue Call =
CGF.EmitCall(E->getCallee()->getType(), callee, E, ReturnValueSlot());
- // Check the supported intrinsic.
+ ASTContext &Context = CGF.getContext();
if (unsigned BuiltinID = FD->getBuiltinID()) {
auto IsErrnoIntrinsic = [&]() -> unsigned {
----------------
arsenm wrote:
The name here IsErrnoIntrinsic is incorrect for fabs which cannot set errno
https://github.com/llvm/llvm-project/pull/100302
More information about the cfe-commits
mailing list