[llvm] [AArch64][LoopVectorize] Use upper bound trip count instead of the constant TC when choosing max VF (PR #67697)

David Sherwood via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 9 05:38:39 PDT 2023


================
@@ -21,3 +21,34 @@ for.body:                                         ; preds = %entry, %for.body
 for.cond.cleanup:                                 ; preds = %for.body
   ret void
 }
+
+define void @wide_tc_8(ptr nocapture %dst, i32 %n, i64 %val){
----------------
david-arm wrote:

nit: Perhaps this is better named as `@clamped_tc_max_8` to be consistent with the test name above?

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


More information about the llvm-commits mailing list