[llvm] r304063 - ScalarEvolution unit test: fix typo that breaks check-all

Gor Nishanov via llvm-commits llvm-commits at lists.llvm.org
Fri May 26 22:24:30 PDT 2017


Author: gornishanov
Date: Sat May 27 00:24:30 2017
New Revision: 304063

URL: http://llvm.org/viewvc/llvm-project?rev=304063&view=rev
Log:
ScalarEvolution unit test: fix typo that breaks check-all

Modified:
    llvm/trunk/unittests/Analysis/ScalarEvolutionTest.cpp

Modified: llvm/trunk/unittests/Analysis/ScalarEvolutionTest.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/unittests/Analysis/ScalarEvolutionTest.cpp?rev=304063&r1=304062&r2=304063&view=diff
==============================================================================
--- llvm/trunk/unittests/Analysis/ScalarEvolutionTest.cpp (original)
+++ llvm/trunk/unittests/Analysis/ScalarEvolutionTest.cpp Sat May 27 00:24:30 2017
@@ -914,7 +914,7 @@ TEST_F(ScalarEvolutionsTest, SCEVZeroExt
   Phi->addIncoming(Add, L);
 
   Builder.SetInsertPoint(Post);
-  Value *GepBase = Builder.CreateGEP(Arg, {ConstantInt::get(T_int64, 1)});
+  Value *GepBase = Builder.CreateGEP(Arg, ConstantInt::get(T_int64, 1));
   Instruction *Ret = Builder.CreateRetVoid();
 
   ScalarEvolution SE = buildSE(*F);




More information about the llvm-commits mailing list