[PATCH] D104126: [MicroBenchmarks] Add initial SLP vectorization benchmarks.

Florian Hahn via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 14 04:08:05 PDT 2021


fhahn updated this revision to Diff 351820.
fhahn added a comment.

In D104126#2813621 <https://reviews.llvm.org/D104126#2813621>, @Meinersbur wrote:

> Does this expect on loop unrolling to happened? Did you consider adding `#pragma clang loop unroll(full)` to make sure of it?

Thanks for taking a look! Yes those expect loop-unrolling to happen. I added the pragma, even though it is clang specific it should be ignored by other compilers and not break builds with other compilers.


Repository:
  rT test-suite

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D104126/new/

https://reviews.llvm.org/D104126

Files:
  MicroBenchmarks/CMakeLists.txt
  MicroBenchmarks/SLPVectorization/CMakeLists.txt
  MicroBenchmarks/SLPVectorization/Versioning.cpp
  MicroBenchmarks/SLPVectorization/main.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D104126.351820.patch
Type: text/x-patch
Size: 7544 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210614/58cccc8c/attachment.bin>


More information about the llvm-commits mailing list