[llvm-dev] Ignored branch predictor hints
Dávid Bolvanský via llvm-dev
llvm-dev at lists.llvm.org
Wed May 9 12:04:43 PDT 2018
Yes, the compiler may ignore attributes in [[ ]] but I believe Clang/LLVM
wants to support it.
2018-05-09 21:02 GMT+02:00 Tim Northover <t.p.northover at gmail.com>:
> On 9 May 2018 at 19:48, Dávid Bolvanský via llvm-dev
> <llvm-dev at lists.llvm.org> wrote:
> > But a fix needs to be made since branch predictor hints are broken in a
> > valid C++20 code:
>
> They don't affect performance in the expected way, but they also don't
> actually break code. I'm not saying it's not a bug, but it's certainly
> not on the same level as a miscompilation.
>
> Tim.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20180509/78c43a0e/attachment.html>
More information about the llvm-dev
mailing list