[llvm] [LV] Fix crash when vectorizing function calls with linear args. (PR #76274)

Alexandros Lamprineas via llvm-commits llvm-commits at lists.llvm.org
Thu Dec 28 03:04:06 PST 2023


================
@@ -0,0 +1,31 @@
+; NOTE: Assertions have been autogenerated by utils/update_test_checks.py UTC_ARGS: --filter "call.*foo" --version 4
+; RUN: opt -passes=loop-vectorize,simplifycfg -force-vector-interleave=1 -force-vector-width=2 -S < %s | FileCheck %s
+
+; Make sure the vectorizer does not crash.
----------------
labrinea wrote:

Perhaps I misunderstoodm but originally in https://github.com/llvm/llvm-project/pull/76060#discussion_r1432823032 you suggested writing a target independent test.

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


More information about the llvm-commits mailing list