Prevent a GEP from getting upgraded to avoid resulting test failure.

llvm-svn: 32123
This commit is contained in:
Reid Spencer 2006-12-02 16:25:20 +00:00
parent 7f327637b1
commit 8100d27982
1 changed files with 1 additions and 1 deletions
llvm/test/Regression/Transforms/LoopStrengthReduce

View File

@ -15,7 +15,7 @@ entry:
no_exit: ; preds = %no_exit, %entry
%indvar = phi uint [ 0, %entry ], [ %indvar.next, %no_exit ] ; <uint> [#uses=3]
%D_addr.0.0.rec = cast uint %indvar to int ; <int> [#uses=1]
%D_addr.0.0 = getelementptr double* %D, uint %indvar ; <double*> [#uses=1]
%D_addr.0.0 = getelementptr double* %D, int %D_addr.0.0.rec ; <double*> [#uses=1]
%inc.rec = add int %D_addr.0.0.rec, 1 ; <int> [#uses=1]
%inc = getelementptr double* %D, int %inc.rec ; <double*> [#uses=1]
store double %F, double* %D_addr.0.0