diff options
author | amordo <iammorjj@gmail.com> | 2025-06-18 17:12:31 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-06-18 23:12:31 +0800 |
commit | e4c3b037bc7f5d9a8089de4c509d3e6034735891 (patch) | |
tree | a19508f73ce51ffb6971a89dfba5aedfc52480f3 /llvm/lib/CodeGen/MachineFunction.cpp | |
parent | 8fc20bffabe7fe6cdc4a9ec1bc79202eba5f1f23 (diff) | |
download | llvm-e4c3b037bc7f5d9a8089de4c509d3e6034735891.zip llvm-e4c3b037bc7f5d9a8089de4c509d3e6034735891.tar.gz llvm-e4c3b037bc7f5d9a8089de4c509d3e6034735891.tar.bz2 |
[InstCombine] Fold `tan(x) * cos(x) => sin(x)` (#136319)
This patch enables folding `tan(x) * cos(x) -> sin(x)` under the `contract` flag.
Fixes https://github.com/llvm/llvm-project/issues/34950.
Diffstat (limited to 'llvm/lib/CodeGen/MachineFunction.cpp')
0 files changed, 0 insertions, 0 deletions