[llvm] [LV] Teach the vectorizer to cost and vectorize llvm.sincos intrinsics (PR #123210)

David Sherwood via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 20 07:57:28 PST 2025


================
@@ -285,6 +286,64 @@ class BasicTTIImplBase : public TargetTransformInfoImplCRTPBase<T> {
     return false;
   }
 
+  /// Several intrinsics struct-ret (including llvm.sincos[pi] and llvm.modf)
----------------
david-arm wrote:

nit: I don't really understand the phrase `Several intrinsics struct-ret`. Do you mean "Several intrinsics that return structs (...) can be ..."?

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


More information about the llvm-commits mailing list