[llvm] [LV] Fix missing precomptueCosts() in emitInvalidCostRemarks(). (PR #114918)

Elvis Wang via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 11 18:19:22 PST 2024


================
@@ -1,5 +1,7 @@
 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
 ; RUN: opt < %s -passes=loop-vectorize,dce,instcombine -force-vector-interleave=1 -force-vector-width=4 -prefer-inloop-reductions -S | FileCheck %s
+; Check remark analysis runs successfully.
+; RUN: opt < %s -passes=loop-vectorize,dce,instcombine -force-vector-interleave=1 -force-vector-width=4 -prefer-inloop-reductions -pass-remarks-analysis=loop-vectorize -S
----------------
ElvisWang123 wrote:

Add new test case for this failure, thanks.

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


More information about the llvm-commits mailing list