[llvm] [LV] Fix emission of debug message in legality check (PR #101924)
Nikita Popov via llvm-commits
llvm-commits at lists.llvm.org
Tue Aug 20 01:51:23 PDT 2024
================
@@ -0,0 +1,36 @@
+; This test asserts that we don't emit both
+; successful and unsuccessful message about vectorization.
+
+; RUN: opt -passes=loop-vectorize -debug -disable-output -pass-remarks-missed=loop-vectorize %s 2>&1 | FileCheck %s
+; CHECK-NOT: LV: We can vectorize this loop
----------------
nikic wrote:
I'd also add this CHECK-NOT after the CHECK as well, to make sure it doesn't happen in either order.
https://github.com/llvm/llvm-project/pull/101924
More information about the llvm-commits
mailing list