[llvm] [Analysis] isTriviallyVectorizable - add vectorization support for acos/asin/atan and cosh/sinh/tanh intrinsics (PR #106584)

Simon Pilgrim via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 29 14:51:08 PDT 2024


RKSimon wrote:

> @RKSimon I didn't add `isTriviallyVectorizable` for these because it broke a number of tests in the RISCV backend. `isTriviallyVectorizable` is exposed across all backends and I think what we would want is something that could be opt in per backend. https://github.com/llvm/llvm-project/blob/main/llvm/test/Transforms/SLPVectorizer/RISCV/math-function.ll#L488

This no longer appears to be an issue.

https://github.com/llvm/llvm-project/pull/106584


More information about the llvm-commits mailing list