[llvm] [LV] Fix crash in epilog vectorization (PR #185480)

Florian Hahn via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 11 06:24:24 PDT 2026


================
@@ -0,0 +1,110 @@
+; NOTE: Assertions have been autogenerated by utils/update_test_checks.py UTC_ARGS: --version 6
+; RUN: opt -passes=loop-vectorize -enable-epilogue-vectorization -force-vector-width=2 -epilogue-vectorization-force-VF=2 -S < %s | FileCheck %s
+;
+; Test case for issue #179407: LoopVectorize should not crash during
+; epilogue vectorization when the preheader has been simplified.
+
+
+target datalayout = "e-m:e-p:32:32-f64:32:64-f80:32-n8:16:32-S128"
+target triple = "x86_64-unknown-linux-gnu"
----------------
fhahn wrote:

it this depends on the target, it needs to go into the `X86` sub-folder

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


More information about the llvm-commits mailing list