summaryrefslogtreecommitdiff
path: root/polly
diff options
context:
space:
mode:
authorJannik Silvanus <jannik.silvanus@amd.com>2023-01-20 15:36:13 +0100
committerJannik Silvanus <jannik.silvanus@amd.com>2023-01-20 15:52:07 +0100
commitf287c1d3153e996502368f4be4f367dca65b03c7 (patch)
tree981b95a14e54957fe2e719e609575608fc24d79e /polly
parentd72934c4d1e90e5828e3b7dc1e72ae1c0164bd19 (diff)
downloadllvm-f287c1d3153e996502368f4be4f367dca65b03c7.tar.gz
[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.
Diffstat (limited to 'polly')
-rw-r--r--polly/test/ScopInfo/wraping_signed_expr_0.ll2
-rw-r--r--polly/test/ScopInfo/wraping_signed_expr_4.ll2
2 files changed, 2 insertions, 2 deletions
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: