[PATCH] D86510: [compiler-rt] Fix atomic support functions on 32-bit architectures
Dimitry Andric via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Aug 26 14:54:27 PDT 2020
dim added a comment.
In D86510#2240266 <https://reviews.llvm.org/D86510#2240266>, @efriedma wrote:
>> We are triggering -Watomic-alignment because `__c11_atomic_is_lock_free(8)` expands to a `__atomic_is_lock_free` call for mips32 since the property is not known statically, so the branch inside the switch emitted and contains a call to __atomic_load_8 which triggers the warning.
>
> Which -Watomic-alignment warning are we talking about? The "max lock-free size" one, or the "actual alignment" one?
The `warning: misaligned atomic operation may incur significant performance penalty` one.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D86510/new/
https://reviews.llvm.org/D86510
More information about the llvm-commits
mailing list