Skip to content

Commit 85790d7

Browse files
committed
fix tests
Created using spr 1.3.6-beta.1
1 parent 05fad65 commit 85790d7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

llvm/unittests/IR/DataLayoutTest.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -555,7 +555,7 @@ TEST(DataLayout, GetAddressSizeInBits) {
555555
{"p:16:32", 16, 16, 16},
556556
{"p0:32:64", 32, 32, 32},
557557
{"p1:16:32:32:10", 64, 10, 64},
558-
{"p1:31:32:64:10:20-p2:17:16:16:16:15", 64, 20, 15},
558+
{"p1:31:32:64:10:20-p2:17:16:16:15:15", 64, 20, 15},
559559
};
560560
for (auto [Layout, V0, V1, V2] : Cases) {
561561
DataLayout DL = cantFail(DataLayout::parse(Layout));
@@ -571,8 +571,8 @@ TEST(DataLayout, GetAddressSize) {
571571
{"", 8, 8, 8},
572572
{"p:16:32", 2, 2, 2},
573573
{"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},
574+
{"p1:19:32:64:2:5", 8, 1, 8},
575+
{"p1:33:32:64:10:23-p2:21:8:16:10:13", 8, 3, 2},
576576
};
577577
for (auto [Layout, V0, V1, V2] : Cases) {
578578
DataLayout DL = cantFail(DataLayout::parse(Layout));

0 commit comments

Comments
 (0)