[llvm-dev] Suboptimal code generated by clang+llc in quite a common scenario (?)

Tim Northover via llvm-dev llvm-dev at lists.llvm.org
Thu Aug 8 09:30:17 PDT 2019


On Thu, 8 Aug 2019 at 17:08, Alex Brachet-Mialot via llvm-dev
<llvm-dev at lists.llvm.org> wrote:
> This might not be the workaround you want because it is only available in C, but you can use restrict to allow such optimizations.

It also doesn't work in Clang unfortunately. We can only represent
restrict on function arguments at the moment.

Cheers.

Tim.


More information about the llvm-dev mailing list