Skip to content

Commit 986029c

Browse files
committed
[Transforms] Fix i8 alignment in datalayout of lit test
A lit test used overaligned i8, apparently due to an old copy-paste error, intending to specify i16 alignment. Change the datalayout string to use naturally aligned i8.
1 parent 7667717 commit 986029c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/test/Transforms/IndVarSimplify/dangling-use.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
; RUN: opt -passes=indvars -disable-output < %s
22

3-
target datalayout = "E-p:32:32:32-i1:8:8-i8:8:8-i8:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64-f128:64:128-n32"
3+
target datalayout = "E-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64-f128:64:128-n32"
44
target triple = "powerpc-unknown-linux-gnu"
55

66
define void @vec_inverse_5_7_vert_loop_copyseparate(ptr %x, i32 %n, i32 %rowbytes) nounwind {

0 commit comments

Comments
 (0)