Skip to content

Commit f287c1d

Browse files
committed
[polly] Fix i8 alignment in datalayout of lit test
Two lit test used overaligned i8, without the test case actually depending on i8 alignment. Change the datalayout string to use naturally aligned i8, preparing for the upcoming requirement of naturally aligned i8.
1 parent d72934c commit f287c1d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

polly/test/ScopInfo/wraping_signed_expr_0.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
; CHECK: Invalid Context:
2323
; CHECK-NOT: [N] -> { : }
2424
;
25-
target datalayout = "e-m:e-i8:64-f80:128-n8:16:32:64-S128"
25+
target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
2626

2727
define void @wrap(ptr %A, i8 %N, i8 %p) {
2828
bb:

polly/test/ScopInfo/wraping_signed_expr_4.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
; CHECK: Invalid Context:
1414
; CHECK-NEXT: [N, p] -> { : p = -128 and N > 0 }
1515

16-
target datalayout = "e-m:e-i8:64-f80:128-n8:16:32:64-S128"
16+
target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
1717

1818
define void @wrap(ptr %A, i8 %N, i8 %p) {
1919
bb:

0 commit comments

Comments
 (0)