Skip to content

Commit eda2d6c

Browse files
authored
[MicroBenchmark,LoopInterleaving] Check performance impact of Loop Interleaving Count with varying loop iterations (#26)
* [MicroBenchmarks,LoopInterleaving] Check performance impact of Loop Interleaving Count with varying loop iterations. This microbenchmark attempts to find the impact of loop interleaving count for different types of loops (big or small, with or without reductions inside them) over different vectorization factors for varying loop trip counts. Note: Interleaving count of 1 means interleaving is disabled. These microbenchmarks are to help guide changes in loop interleaving count computation and removal of trip count threshold for interleaving loops in llvm/llvm-project#67725 & related patches.
1 parent 8352ecb commit eda2d6c

File tree

2 files changed

+412
-0
lines changed

2 files changed

+412
-0
lines changed

MicroBenchmarks/LoopVectorization/CMakeLists.txt

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,12 @@ llvm_test_executable(LoopVectorizationBenchmarks
1717
)
1818

1919
target_link_libraries(LoopVectorizationBenchmarks benchmark)
20+
21+
llvm_test_run()
22+
23+
llvm_test_executable(LoopInterleavingBenchmarks
24+
main.cpp
25+
LoopInterleaving.cpp
26+
)
27+
28+
target_link_libraries(LoopInterleavingBenchmarks benchmark)

0 commit comments

Comments
 (0)