[all-commits] [llvm/llvm-project] c6b5ea: [Transforms] Expand optimizeTan to fold more inver...
AtariDreams via All-commits
all-commits at lists.llvm.org
Tue Feb 6 02:00:48 PST 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: c6b5ea339d9f257b64f4ca468e447f0e29a909a4
https://github.com/llvm/llvm-project/commit/c6b5ea339d9f257b64f4ca468e447f0e29a909a4
Author: AtariDreams <83477269+AtariDreams at users.noreply.github.com>
Date: 2024-02-06 (Tue, 06 Feb 2024)
Changed paths:
M llvm/include/llvm/Transforms/Utils/SimplifyLibCalls.h
M llvm/lib/Transforms/Utils/SimplifyLibCalls.cpp
R llvm/test/Transforms/InstCombine/tan-nofastmath.ll
R llvm/test/Transforms/InstCombine/tan.ll
A llvm/test/Transforms/InstCombine/trig.ll
Log Message:
-----------
[Transforms] Expand optimizeTan to fold more inverse trig pairs (#77799)
optimizeTan has been renamed to optimizeTrigInversionPairs as a result.
Sadly, this is not mathematically true that all inverse pairs fold to x.
For example, asin(sin(x)) does not fold to x if x is over 2pi.
More information about the All-commits
mailing list