[llvm] [LV][NFC] Fix "vectorization is possible but not beneficial" message (PR #228024)

Graham Hunter via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 1 03:38:19 PDT 2026


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

Should the name of the test change too if this is not considered an issue of profitability?

Though it seems like we should be able to convert that to a comparison of the first bit of the loaded value instead of a trunc. Maybe a dedicated test would be better if possible?

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


More information about the llvm-commits mailing list