[PATCH] D119121: [test-suite] Add unit tests for vectorizer memory runtime checks.

Florian Hahn via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Feb 19 13:15:27 PST 2022


fhahn marked an inline comment as done.
fhahn added inline comments.


================
Comment at: SingleSource/UnitTests/Vectorizer/runtime-checks.cpp:49-50
+
+template <typename F, typename... Args>
+__attribute__((optnone)) void callThroughOptnone(F &&f, Args &&...args) {
+  f(std::forward<Args>(args)...);
----------------
Meinersbur wrote:
> Could you add a description for why we are using this function?
Added in the committed version, thanks!


Repository:
  rT test-suite

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

https://reviews.llvm.org/D119121



More information about the llvm-commits mailing list