[PATCH] D107394: [AIX] "aligned" attribute does not decrease alignment

Steven Wan via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Aug 4 11:20:52 PDT 2021


stevewan marked an inline comment as done.
stevewan added inline comments.


================
Comment at: clang/test/Layout/aix-alignof-align-and-pack-attr.cpp:11
+
+// CHECK: @c = global %struct.C zeroinitializer, align 2
----------------
sfertile wrote:
> Minor nit: I think the other test can live in this file, highlighting the difference between the 2 cases is nice. Also I think we should add a typedef test in here as well.
Merged the tests as suggested. We have the typedef coverage in `aix-power-alignment-typedef.cpp` and `aix-power-alignment-typedef2.cpp`, not sure if want to merge those as well.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D107394



More information about the cfe-commits mailing list