[PATCH] D135628: [clang][codegen] Don't emit atomic loads for threadsafe init if they aren't inline

John McCall via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Oct 10 18:04:01 PDT 2022


rjmccall accepted this revision.
rjmccall added a comment.
This revision is now accepted and ready to land.

Makes sense.  Nice code-size optimization at any rate.

Hmm, actually, along those lines, should we do the same thing at `-Oz`?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D135628



More information about the cfe-commits mailing list