[llvm] 40621ff - [LV] Also check interleaving only in select-min-index.ll
Florian Hahn via llvm-commits
llvm-commits at lists.llvm.org
Mon Feb 6 03:32:56 PST 2023
Author: Florian Hahn
Date: 2023-02-06T11:30:14Z
New Revision: 40621ff4b8a6214924f6260f5d306386f9e78399
URL: https://github.com/llvm/llvm-project/commit/40621ff4b8a6214924f6260f5d306386f9e78399
DIFF: https://github.com/llvm/llvm-project/commit/40621ff4b8a6214924f6260f5d306386f9e78399.diff
LOG: [LV] Also check interleaving only in select-min-index.ll
The new combination exposed a crash in earlier versions of
D132063.
Added:
Modified:
llvm/test/Transforms/LoopVectorize/select-min-index.ll
Removed:
################################################################################
diff --git a/llvm/test/Transforms/LoopVectorize/select-min-index.ll b/llvm/test/Transforms/LoopVectorize/select-min-index.ll
index 48c6cda3e11d7..13fde324cb9d1 100644
--- a/llvm/test/Transforms/LoopVectorize/select-min-index.ll
+++ b/llvm/test/Transforms/LoopVectorize/select-min-index.ll
@@ -1,4 +1,5 @@
-; RUN: opt -passes=loop-vectorize -force-vector-width=4 -S %s | FileCheck %s
+; RUN: opt -passes=loop-vectorize -force-vector-width=4 -force-vector-interleave=2 -S %s | FileCheck %s
+; RUN: opt -passes=loop-vectorize -force-vector-width=1 -force-vector-interleave=2 -S %s | FileCheck %s
; Test cases for selecting the index with the minimum value.
More information about the llvm-commits
mailing list