diff options
author | Asher Mancinelli <ashermancinelli@gmail.com> | 2025-10-01 07:15:42 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-10-01 07:15:42 -0700 |
commit | ca1ff80a16f135306282cb8ef33d0af6ce20fa69 (patch) | |
tree | e08969d49dc63f0092b3f8a1729843265db9e86f /llvm/lib/Analysis/ModuleSummaryAnalysis.cpp | |
parent | a05e004b285af92f9bcef12d5ab5537c36002c13 (diff) | |
download | llvm-ca1ff80a16f135306282cb8ef33d0af6ce20fa69.zip llvm-ca1ff80a16f135306282cb8ef33d0af6ce20fa69.tar.gz llvm-ca1ff80a16f135306282cb8ef33d0af6ce20fa69.tar.bz2 |
[MLIR] Add sincos fusion pass (#161413)
We see performance improvements from using sincos to reuse calculations
in hot loops that compute sin() and cos() of the same operand. Add a
pass to identify sin() and cos() calls in the same block with the same
operand and fast-math flags, and fuse them into a sincos op.
Follow-up to:
* #160561
* #160772
Diffstat (limited to 'llvm/lib/Analysis/ModuleSummaryAnalysis.cpp')
0 files changed, 0 insertions, 0 deletions