[PATCH] D33774: [CodeGen] Make __attribute__(const) calls speculatable

Michael Kruse via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Mar 29 18:42:40 PDT 2022


Meinersbur requested changes to this revision.
Meinersbur added a comment.
This revision now requires changes to proceed.
Herald added a project: All.

`speculable` implies no undefined behavior (so it can even be speculatively executed with arguments when the source code would not, but its result eventually discarded), but `const` does not.


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

https://reviews.llvm.org/D33774



More information about the cfe-commits mailing list