[llvm] [LV] Add coverage for fixing-up scalar resume values (PR #160492)

Florian Hahn via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 24 03:47:53 PDT 2025


================
@@ -0,0 +1,76 @@
+; NOTE: Assertions have been autogenerated by utils/update_test_checks.py UTC_ARGS: --check-globals none --version 6
+; RUN: opt -passes=loop-vectorize -S %s | FileCheck %s
+
+; This tests exercises the out-of-band fixing-up of scalar resume values.
+
+target triple = "aarch64"
+
+define void @epilogue_vectorization_fix_scalar_resume_values(ptr %dst, i64 %n) {
----------------
fhahn wrote:

does this test need to be target specific or could it be generic?

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


More information about the llvm-commits mailing list