[PATCH] D93279: [test-suite] Support GCC compilation of Microbenchmark MemFunctions.

Clement Courbet via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Dec 14 23:29:44 PST 2020


courbet added a comment.

Thanks for the patch. Apparently both gcc and clang are fine if the attribute is placed before the definition: https://godbolt.org/z/5aTrcb, so we could do without the `ifdef`s.
(Though gcc does not know about the attribute, but that's also the case with the current version)


Repository:
  rT test-suite

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

https://reviews.llvm.org/D93279



More information about the llvm-commits mailing list