[llvm] [InstCombine] Fold tan(x) * cos(x) => sin(x) (PR #136319)
Yingwei Zheng via llvm-commits
llvm-commits at lists.llvm.org
Sat Apr 19 09:05:46 PDT 2025
================
@@ -0,0 +1,118 @@
+; NOTE: Assertions have been autogenerated by utils/update_test_checks.py UTC_ARGS: --version 5
----------------
dtcxzyw wrote:
Missing test for the commuted case `cos * tan` and a negative test with mismatched `X` (i.e. `tan(a) * cos(b)`).
https://github.com/llvm/llvm-project/pull/136319
More information about the llvm-commits
mailing list