[llvm] [loop-vectorize] Fix crash when using types that aren't known scale factors (PR #136680)

Florian Hahn via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 22 06:15:05 PDT 2025


================
@@ -1030,6 +1030,27 @@ for.body:                                         ; preds = %for.body.preheader,
   br i1 %exitcond.not, label %for.cond.cleanup, label %for.body, !loop !1
 }
 
+
+define i40 @chained_partial_reduce_not_known_factor(i32 %a, i32 %b, i32 %N) {
+entry:
----------------
fhahn wrote:

We should also have some check lines here 

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


More information about the llvm-commits mailing list