[PATCH] D136939: [X86] Use default attributes for intrinsics

Nikita Popov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 28 04:02:21 PDT 2022


nikic added a comment.

In D136939#3891464 <https://reviews.llvm.org/D136939#3891464>, @RKSimon wrote:

>> This adds the default attributes (nocallback, nosync, nofree, willreturn) to some X86 intrinsics. This will be needed to avoid optimization regressions in the future.
>
> Can you give us more details on what these optimizations are?

We currently implicitly assume that all readnone intrinsics are also willreturn. Once we stop doing that, any intrinsics not marked as willreturn will no longer be subject to DCE.


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

https://reviews.llvm.org/D136939



More information about the llvm-commits mailing list