From f287c1d3153e996502368f4be4f367dca65b03c7 Mon Sep 17 00:00:00 2001 From: Jannik Silvanus Date: Fri, 20 Jan 2023 15:36:13 +0100 Subject: [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. --- polly/test/ScopInfo/wraping_signed_expr_0.ll | 2 +- polly/test/ScopInfo/wraping_signed_expr_4.ll | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'polly') diff --git a/polly/test/ScopInfo/wraping_signed_expr_0.ll b/polly/test/ScopInfo/wraping_signed_expr_0.ll index d40c7009c95a..7ad0f64028b6 100644 --- a/polly/test/ScopInfo/wraping_signed_expr_0.ll +++ b/polly/test/ScopInfo/wraping_signed_expr_0.ll @@ -22,7 +22,7 @@ ; CHECK: Invalid Context: ; CHECK-NOT: [N] -> { : } ; -target datalayout = "e-m:e-i8:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" define void @wrap(ptr %A, i8 %N, i8 %p) { bb: diff --git a/polly/test/ScopInfo/wraping_signed_expr_4.ll b/polly/test/ScopInfo/wraping_signed_expr_4.ll index b65437633fe5..ec65f70a092f 100644 --- a/polly/test/ScopInfo/wraping_signed_expr_4.ll +++ b/polly/test/ScopInfo/wraping_signed_expr_4.ll @@ -13,7 +13,7 @@ ; CHECK: Invalid Context: ; CHECK-NEXT: [N, p] -> { : p = -128 and N > 0 } -target datalayout = "e-m:e-i8:64-f80:128-n8:16:32:64-S128" +target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" define void @wrap(ptr %A, i8 %N, i8 %p) { bb: -- cgit v1.2.1