[llvm] Support CSA for floating-point & pointer types (PR #182313)

Graham Hunter via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 19 09:28:16 PST 2026


================
@@ -1111,7 +1111,7 @@ class TargetTransformInfoImplBase {
 
   virtual bool isLegalToVectorizeReduction(const RecurrenceDescriptor &RdxDesc,
                                            ElementCount VF) const {
-    return true;
+    return RdxDesc.getRecurrenceKind() != RecurKind::FFindLast;
----------------
huntergr-arm wrote:

We should be able to handle these reductions for most targets.

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


More information about the llvm-commits mailing list