[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 03:50:23 PDT 2026


================
@@ -91,7 +91,7 @@ loop.end:
 define i64 @vectorization_not_profitable_due_to_trunc(ptr dereferenceable(800) %src) {
----------------
david-arm wrote:

Also, I just noticed from the debug output that the costs look wrong:

```
Cost of 0 for VF 2: EMIT branch-on-two-conds vp<%7>, vp<%8>
```

Not sure if that's really 0. :)

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


More information about the llvm-commits mailing list