[PATCH] D11167: Avoid passing objects with __declspec(align) members by value (PR24113) - llvm part

Hans Wennborg hans at chromium.org
Mon Jul 13 17:07:19 PDT 2015


hans created this revision.
hans added reviewers: rnk, Bigcheese.
hans added a subscriber: llvm-commits.
hans set the repository for this revision to rL LLVM.

This allows us to remove the specializations of AlignedCharArray<8> etc. that tried to use e.g. a union with 'double' to get alignment while avoiding the declspec. That work-around never really worked, as those unions wouldn't cause stack realignment, and an AlignedCharArray<8> on the stack would not necessarily be aligned.

Repository:
  rL LLVM

http://reviews.llvm.org/D11167

Files:
  include/llvm/ADT/iterator_range.h
  include/llvm/CodeGen/DIE.h
  include/llvm/IR/PassManager.h
  include/llvm/IR/PassManagerInternal.h
  include/llvm/Object/SymbolicFile.h
  include/llvm/Support/AlignOf.h
  lib/CodeGen/AsmPrinter/DIEHash.cpp
  lib/CodeGen/AsmPrinter/DIEHash.h
  lib/Target/ARM/AsmParser/ARMAsmParser.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D11167.29628.patch
Type: text/x-patch
Size: 10134 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150714/ec057396/attachment.bin>


More information about the llvm-commits mailing list