[llvm] [LV][NFC] Emit remarks when failing to vectorise early exit loops (PR #225078)

David Sherwood via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 21 06:08:22 PDT 2026


================
@@ -667,3 +687,46 @@ declare i32 @foo(i32) readonly
 declare <vscale x 4 x i32> @foo_vec(<vscale x 4 x i32>)
 
 attributes #0 = { "vector-function-abi-variant"="_ZGVsNxv_foo(foo_vec)" }
+
+!llvm.dbg.cu = !{!28}
----------------
david-arm wrote:

No worries! Yeah, I wish there was an easier way, but the remark output doesn't have a starting label for each function. It's also possible to create a completely new test file and make sure each negative case is ordered correctly to ensure each remark follows the same order. I just wondered if that was error-prone?

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


More information about the llvm-commits mailing list