[all-commits] [llvm/llvm-project] d38c8a: ConstantFold logl calls (#94944)
Matthew Devereau via All-commits
all-commits at lists.llvm.org
Tue Jun 18 05:27:46 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: d38c8a7a51227fecdb1f84160f5da4f89c3e25be
https://github.com/llvm/llvm-project/commit/d38c8a7a51227fecdb1f84160f5da4f89c3e25be
Author: Matthew Devereau <matthew.devereau at arm.com>
Date: 2024-06-18 (Tue, 18 Jun 2024)
Changed paths:
M llvm/lib/Analysis/ConstantFolding.cpp
M llvm/test/Transforms/InstSimplify/ConstProp/logf128.ll
Log Message:
-----------
ConstantFold logl calls (#94944)
This is a follow up patch from #90611 which folds logl calls in the same
manner as log.f128 calls. logl suffers from the same problem as logf128
of having slow calls to fp128 log functions which can be constant
folded. However, logl is emitted with -fmath-errno and log.f128 is
emitted by -fno-math-errno by certain intrinsics.
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