[PATCH] D123642: [clang codegen] Assume arguments of __atomic_* are aligned.
Eli Friedman via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Apr 12 16:07:19 PDT 2022
efriedma created this revision.
efriedma added reviewers: jyknight, craig.topper, jfb, rjmccall.
Herald added a subscriber: StephenFan.
Herald added a project: All.
efriedma requested review of this revision.
Herald added a project: clang.
This seems weird, but it's necessary to match gcc, and avoid unnecessary calls to libatomic from libstdc++ <atomic>.
Fixes https://github.com/llvm/llvm-project/issues/54790 .
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D123642
Files:
clang/lib/CodeGen/CGAtomic.cpp
clang/test/CodeGen/atomic-ops.c
clang/test/CodeGen/atomics-sema-alignment.c
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D123642.422354.patch
Type: text/x-patch
Size: 8471 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220412/c05ce65a/attachment.bin>
More information about the cfe-commits
mailing list