We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 05fad65 commit 85790d7Copy full SHA for 85790d7
llvm/unittests/IR/DataLayoutTest.cpp
@@ -555,7 +555,7 @@ TEST(DataLayout, GetAddressSizeInBits) {
555
{"p:16:32", 16, 16, 16},
556
{"p0:32:64", 32, 32, 32},
557
{"p1:16:32:32:10", 64, 10, 64},
558
- {"p1:31:32:64:10:20-p2:17:16:16:16:15", 64, 20, 15},
+ {"p1:31:32:64:10:20-p2:17:16:16:15:15", 64, 20, 15},
559
};
560
for (auto [Layout, V0, V1, V2] : Cases) {
561
DataLayout DL = cantFail(DataLayout::parse(Layout));
@@ -571,8 +571,8 @@ TEST(DataLayout, GetAddressSize) {
571
{"", 8, 8, 8},
572
{"p:16:32", 2, 2, 2},
573
{"p0:27:64", 4, 4, 4},
574
- {"p1:19:32:64:19:5", 8, 1, 8},
575
- {"p1:33:32:64:33:23-p2:21:8:16:21:13", 8, 3, 2},
+ {"p1:19:32:64:2:5", 8, 1, 8},
+ {"p1:33:32:64:10:23-p2:21:8:16:10:13", 8, 3, 2},
576
577
578
0 commit comments