[llvm] [LV][NFC] Fix "vectorization is possible but not beneficial" message (PR #228024)
David Sherwood via llvm-commits
llvm-commits at lists.llvm.org
Thu Oct 1 05:33:56 PDT 2026
================
@@ -91,7 +91,7 @@ loop.end:
define i64 @vectorization_not_profitable_due_to_trunc(ptr dereferenceable(800) %src) {
----------------
david-arm wrote:
OK we can't write a test for a `branch-on-two-conds` recipe because:
1. The reciprocal throughput cost is always 0 for Instruction::CondBr.
2. We can't write a test that exposes the codesize cost kind because that happens when you compile with `-Oz -fvectorize`. However, compiling with `-Oz` automatically requires tail-folding and early exits aren't supported.
https://github.com/llvm/llvm-project/pull/228024
More information about the llvm-commits
mailing list