From 5a5ac124e1efaf208671f01c46edb15f29ed2a0b Mon Sep 17 00:00:00 2001 From: Dimitry Andric Date: Wed, 27 May 2015 18:44:32 +0000 Subject: Vendor import of llvm trunk r238337: https://llvm.org/svn/llvm-project/llvm/trunk@238337 --- test/Transforms/LoopStrengthReduce/preserve-gep-loop-variant.ll | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/Transforms/LoopStrengthReduce/preserve-gep-loop-variant.ll') diff --git a/test/Transforms/LoopStrengthReduce/preserve-gep-loop-variant.ll b/test/Transforms/LoopStrengthReduce/preserve-gep-loop-variant.ll index f90d03080056..2b9920c566b2 100644 --- a/test/Transforms/LoopStrengthReduce/preserve-gep-loop-variant.ll +++ b/test/Transforms/LoopStrengthReduce/preserve-gep-loop-variant.ll @@ -28,7 +28,7 @@ for.body: %conv3 = sext i8 %conv to i64 %add = add nsw i64 %call, %storemerge1 %add4 = add nsw i64 %add, %conv3 - %arrayidx = getelementptr inbounds i8* %p, i64 %add4 + %arrayidx = getelementptr inbounds i8, i8* %p, i64 %add4 store i8 0, i8* %arrayidx %inc = add nsw i64 %storemerge1, 1 br label %for.cond -- cgit v1.2.3