Commit aebb36d
committed
[Vectorizer] Convert index-select to comprehensive arg(min|max) tests.
Generalize and extend the tests in index-select.cpp to cover
argmin/argmax with both finding the first and last indices.
The test cases cover a range of predicates (<, <=, >, >=) with a range
of initial values, trip counts and types.
This adds extensive test coverage for
llvm/llvm-project#141431 and follow-ups.1 parent 3483b32 commit aebb36d
File tree
5 files changed
+735
-282
lines changed- MicroBenchmarks/LoopVectorization
- SingleSource/UnitTests/Vectorizer
5 files changed
+735
-282
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| 13 | + | |
13 | 14 | | |
14 | 15 | | |
15 | 16 | | |
| |||
0 commit comments