[llvm] [LV][EVL] Support call instruction with EVL-vectorization (PR #110412)
Mel Chen via llvm-commits
llvm-commits at lists.llvm.org
Thu Nov 7 05:25:22 PST 2024
================
@@ -0,0 +1,855 @@
+; NOTE: Assertions have been autogenerated by utils/update_test_checks.py UTC_ARGS: --version 5
+; RUN: opt -passes=loop-vectorize \
+; RUN: -force-tail-folding-style=data-with-evl \
+; RUN: -prefer-predicate-over-epilogue=predicate-dont-vectorize \
+; RUN: -mtriple=riscv64 -mattr=+v -S %s | FileCheck %s --check-prefix=IF-EVL
+
+; RUN: opt -passes=loop-vectorize \
+; RUN: -force-tail-folding-style=none \
+; RUN: -prefer-predicate-over-epilogue=predicate-dont-vectorize \
+; RUN: -mtriple=riscv64 -mattr=+v -S %s | FileCheck %s --check-prefix=NO-VP
+
+define void @vp_smax(ptr noalias %a, ptr noalias %b, ptr noalias %c, i64 %N) {
----------------
Mel-Chen wrote:
Is the noalias necessary?
https://github.com/llvm/llvm-project/pull/110412
More information about the llvm-commits
mailing list