diff --git a/test/Transforms/LoopVectorize/X86/struct-store.ll b/test/Transforms/LoopVectorize/X86/struct-store.ll index 86ea9efd314..a995e43a5ab 100644 --- a/test/Transforms/LoopVectorize/X86/struct-store.ll +++ b/test/Transforms/LoopVectorize/X86/struct-store.ll @@ -1,9 +1,8 @@ -; RUN: opt < %s -loop-vectorize -mtriple=x86_64-unknown-linux-gnu -S +; RUN: opt < %s -loop-vectorize -mtriple=x86_64-unknown-linux-gnu -S -; Makre sure we are not crashing on this one. +; Make sure we are not crashing on this one. -target datalayout = -"e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128-n8:16:32:64-S128" +target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @glbl = external global [16 x { i64, i64 }], align 16 @@ -16,8 +15,7 @@ entry: loop: %indvars.iv = phi i64 [ %indvars.iv.next, %loop ], [ 0, %entry ] - %tmp = getelementptr inbounds [16 x { i64, i64 }]* @glbl, i64 0, i64 -%indvars.iv + %tmp = getelementptr inbounds [16 x { i64, i64 }]* @glbl, i64 0, i64 %indvars.iv store { i64, i64 } { i64 ptrtoint (void ()* @fn to i64), i64 0 }, { i64, i64 }* %tmp, align 16 %indvars.iv.next = add i64 %indvars.iv, 1 %lftr.wideiv = trunc i64 %indvars.iv.next to i32