[llvm] [LV] Linear argument tests for vectorization of function calls (PR #73936)

Maciej Gabka via llvm-commits llvm-commits at lists.llvm.org
Mon Dec 4 06:50:03 PST 2023


================
@@ -0,0 +1,253 @@
+; NOTE: Assertions have been autogenerated by utils/update_test_checks.py UTC_ARGS: --filter "call" --version 2
+; RUN: opt < %s -passes=loop-vectorize -force-vector-interleave=1 -S | FileCheck %s --check-prefixes=NEON
+; RUN: opt < %s -mattr=+sve -passes=loop-vectorize -force-vector-interleave=1 -S | FileCheck %s --check-prefixes=SVE_OR_NEON
+; RUN: opt < %s -mattr=+sve -passes=loop-vectorize -force-vector-interleave=1 -S -prefer-predicate-over-epilogue=predicate-dont-vectorize | FileCheck %s --check-prefixes=SVE_TF
----------------
mgabka wrote:

could you also run simplifycfg here pass, it will help get rid of the scalar calls I think

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


More information about the llvm-commits mailing list