[PATCH] [ARM/AArch64] Enforce alignment for bitfielded structs

Renato Golin renato.golin at linaro.org
Tue Apr 28 04:01:26 PDT 2015


Removing the redundant line, LGTM. Thanks!


REPOSITORY
  rL LLVM

================
Comment at: lib/CodeGen/CodeGenModule.cpp:1806
@@ +1805,3 @@
+    // work around clang combining bitfields into one large type.
+    llvm::Triple::ArchType Arch = Context.getTargetInfo().getTriple().getArch();
+    if (getContext().getTargetInfo().enforceBitfieldContainerAlignment()) {
----------------
redundant line?

http://reviews.llvm.org/D9297

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/






More information about the cfe-commits mailing list