[PATCH] D72932: [ARM] Follow AACPS standard for volatile bit-fields access width

Diogo N. Sampaio via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Feb 11 06:55:49 PST 2020


dnsampaio updated this revision to Diff 243855.
dnsampaio added a comment.

- Add test that the volatile access does not cross a border defined by a zero lenght bit-field, defined by C11, avoiding race-conditions


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D72932

Files:
  clang/include/clang/Basic/CodeGenOptions.def
  clang/include/clang/Driver/Options.td
  clang/lib/CodeGen/CGExpr.cpp
  clang/lib/CodeGen/CGRecordLayout.h
  clang/lib/CodeGen/CGRecordLayoutBuilder.cpp
  clang/lib/Frontend/CompilerInvocation.cpp
  clang/test/CodeGen/aapcs-bitfield.c
  clang/test/CodeGen/bitfield-2.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D72932.243855.patch
Type: text/x-patch
Size: 231095 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20200211/82064e93/attachment-0001.bin>


More information about the cfe-commits mailing list