[PATCH] D89064: [AIX] Support two itanium alignment LIT testcases for AIX using regex
Xiangling Liao via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Oct 13 13:48:27 PDT 2020
This revision was automatically updated to reflect the committed changes.
Closed by commit rG4c10d6508f54: [AIX] Support two itanium alignment LIT testcases for AIX using regex (authored by Xiangling_L).
Changed prior to commit:
https://reviews.llvm.org/D89064?vs=297848&id=297950#toc
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D89064/new/
https://reviews.llvm.org/D89064
Files:
clang/test/Layout/itanium-pack-and-align.cpp
clang/test/Layout/itanium-union-bitfield.cpp
Index: clang/test/Layout/itanium-union-bitfield.cpp
===================================================================
--- clang/test/Layout/itanium-union-bitfield.cpp
+++ clang/test/Layout/itanium-union-bitfield.cpp
@@ -18,12 +18,11 @@
// CHECK:*** Dumping AST Record Layout
// CHECK-NEXT: 0 | union A
// CHECK-NEXT: 0:0-2 | int f1
-// CHECK-NEXT: | [sizeof=4, dsize=1, align=4
-// CHECK-NEXT: | nvsize=1, nvalign=4]
+// CHECK-NEXT: | [sizeof=4, dsize=1, align=4{{(, preferredalign=4,)?}}
+// CHECK-NEXT: | nvsize=1, nvalign=4{{(, preferrednvalign=4)?}}]
// CHECK:*** Dumping AST Record Layout
// CHECK-NEXT: 0 | union B
// CHECK-NEXT: 0:0-34 | char f1
-// CHECK-NEXT: | [sizeof=8, dsize=5, align=4
-// CHECK-NEXT: | nvsize=5, nvalign=4]
-
+// CHECK-NEXT: | [sizeof=8, dsize=5, align=4{{(, preferredalign=4,)?}}
+// CHECK-NEXT: | nvsize=5, nvalign=4{{(, preferrednvalign=4)?}}]
Index: clang/test/Layout/itanium-pack-and-align.cpp
===================================================================
--- clang/test/Layout/itanium-pack-and-align.cpp
+++ clang/test/Layout/itanium-pack-and-align.cpp
@@ -16,11 +16,11 @@
// CHECK: 0 | struct T
// CHECK-NEXT: 0 | char x
// CHECK-NEXT: 1 | int y
-// CHECK-NEXT: | [sizeof=8, dsize=8, align=8,
-// CHECK-NEXT: | nvsize=8, nvalign=8]
+// CHECK-NEXT: | [sizeof=8, dsize=8, align=8,{{( preferredalign=8,)?}}
+// CHECK-NEXT: | nvsize=8, nvalign=8{{(, preferrednvalign=8)?}}]
// CHECK: 0 | struct S
// CHECK-NEXT: 0 | char x
// CHECK-NEXT: 1 | int y
-// CHECK-NEXT: | [sizeof=8, dsize=8, align=8,
-// CHECK-NEXT: | nvsize=8, nvalign=8]
+// CHECK-NEXT: | [sizeof=8, dsize=8, align=8,{{( preferredalign=8,)?}}
+// CHECK-NEXT: | nvsize=8, nvalign=8{{(, preferrednvalign=8)?}}]
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D89064.297950.patch
Type: text/x-patch
Size: 1953 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20201013/64850d8e/attachment-0001.bin>
More information about the cfe-commits
mailing list