[clang] [clang][CodeGen] Emit atomic IR instead of libcalls for misaligned po… (PR #73176)

Eli Friedman via cfe-commits cfe-commits at lists.llvm.org
Wed Nov 29 14:12:16 PST 2023


efriedma-quic wrote:

As a historical note, when I first wrote the support for atomics, it was under a model where LLVM IR only modeled legal atomics, and clang lowered illegal atomics to libcalls.  This was changed a few years later to generalize atomics in LLVM IR to support arbitrary atomic ops lowered to libcalls.  But there are still a few inconsistencies resulting from this, I think.

https://github.com/llvm/llvm-project/pull/73176


More information about the cfe-commits mailing list