[all-commits] [llvm/llvm-project] 8da5b9: [MS] Fix packed struct layout for arrays of aligne...

Reid Kleckner via All-commits all-commits at lists.llvm.org
Tue Apr 14 18:40:34 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 8da5b9083691b557f50f72ab099598bb291aec5f
      https://github.com/llvm/llvm-project/commit/8da5b9083691b557f50f72ab099598bb291aec5f
  Author: Reid Kleckner <rnk at google.com>
  Date:   2020-04-14 (Tue, 14 Apr 2020)

  Changed paths:
    M clang/lib/AST/ASTContext.cpp
    A clang/test/Layout/ms-aligned-array.c

  Log Message:
  -----------
  [MS] Fix packed struct layout for arrays of aligned non-record types

In particular, this affects Clang's vectors. Users encounter this issue
when a struct contains an __m128 type.

Fixes PR45420

Reviewed By: rjmccall

Differential Revision: https://reviews.llvm.org/D77754




More information about the All-commits mailing list