[llvm] [LoopVectorize][NFC] Rewrite tests to check output of vplan cost model (PR #113697)

David Sherwood via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 31 03:13:06 PDT 2024


================
@@ -6,7 +6,6 @@ target triple = "aarch64--linux-gnu"
 
 ; CHECK-LABEL: all_scalar
 ; CHECK:       LV: Found scalar instruction: %i.next = add nuw nsw i64 %i, 2
-; CHECK:       LV: Found an estimated cost of 1 for VF 2 For instruction: %i.next = add nuw nsw i64 %i, 2
----------------
david-arm wrote:

It looks like with the new cost model when we know we won't generate any vector instructions we don't even attempt to calculate a cost.

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


More information about the llvm-commits mailing list