[all-commits] [llvm/llvm-project] 4bd342: IRBuilder: Add FMFSource parameter to CreateMaxNum...
YunQiang Su via All-commits
all-commits at lists.llvm.org
Mon Mar 3 16:49:58 PST 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 4bd34273210329047a7829f1ea4f54c171000c68
https://github.com/llvm/llvm-project/commit/4bd34273210329047a7829f1ea4f54c171000c68
Author: YunQiang Su <yunqiang at isrc.iscas.ac.cn>
Date: 2025-03-04 (Tue, 04 Mar 2025)
Changed paths:
M clang/lib/CodeGen/CGBuiltin.cpp
M llvm/include/llvm/IR/IRBuilder.h
Log Message:
-----------
IRBuilder: Add FMFSource parameter to CreateMaxNum/CreateMinNum (#129173)
In https://github.com/llvm/llvm-project/pull/112852, we claimed that
llvm.minnum and llvm.maxnum should treat +0.0>-0.0, while libc doesn't
require fmin(3)/fmax(3) for it.
Let's add FMFSource parameter to CreateMaxNum and CreateMinNum, so that
they can be used by CodeGenFunction::EmitBuiltinExpr of Clang.
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