[polly] f287c1d - [polly] Fix i8 alignment in datalayout of lit test
Jannik Silvanus via llvm-commits
llvm-commits at lists.llvm.org
Fri Jan 20 06:53:04 PST 2023
Author: Jannik Silvanus
Date: 2023-01-20T15:52:07+01:00
New Revision: f287c1d3153e996502368f4be4f367dca65b03c7
URL: https://github.com/llvm/llvm-project/commit/f287c1d3153e996502368f4be4f367dca65b03c7
DIFF: https://github.com/llvm/llvm-project/commit/f287c1d3153e996502368f4be4f367dca65b03c7.diff
LOG: [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.
Added:
Modified:
polly/test/ScopInfo/wraping_signed_expr_0.ll
polly/test/ScopInfo/wraping_signed_expr_4.ll
Removed:
################################################################################
diff --git a/polly/test/ScopInfo/wraping_signed_expr_0.ll b/polly/test/ScopInfo/wraping_signed_expr_0.ll
index d40c7009c95a5..7ad0f64028b6d 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 b65437633fe5a..ec65f70a092f2 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:
More information about the llvm-commits
mailing list