[llvm] r292074 - Delete a dead argument. NFC
Xin Tong via llvm-commits
llvm-commits at lists.llvm.org
Sun Jan 15 11:54:00 PST 2017
Author: trentxintong
Date: Sun Jan 15 13:53:59 2017
New Revision: 292074
URL: http://llvm.org/viewvc/llvm-project?rev=292074&view=rev
Log:
Delete a dead argument. NFC
Modified:
llvm/trunk/unittests/Analysis/UnrollAnalyzer.cpp
Modified: llvm/trunk/unittests/Analysis/UnrollAnalyzer.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/unittests/Analysis/UnrollAnalyzer.cpp?rev=292074&r1=292073&r2=292074&view=diff
==============================================================================
--- llvm/trunk/unittests/Analysis/UnrollAnalyzer.cpp (original)
+++ llvm/trunk/unittests/Analysis/UnrollAnalyzer.cpp Sun Jan 15 13:53:59 2017
@@ -61,7 +61,6 @@ struct UnrollAnalyzerTest : public Funct
char UnrollAnalyzerTest::ID = 0;
std::unique_ptr<Module> makeLLVMModule(LLVMContext &Context,
- UnrollAnalyzerTest *P,
const char *ModuleStr) {
SMDiagnostic Err;
return parseAssemblyString(ModuleStr, Err, Context);
@@ -87,7 +86,7 @@ TEST(UnrollAnalyzerTest, BasicSimplifica
"}\n";
UnrollAnalyzerTest *P = new UnrollAnalyzerTest();
LLVMContext Context;
- std::unique_ptr<Module> M = makeLLVMModule(Context, P, ModuleStr);
+ std::unique_ptr<Module> M = makeLLVMModule(Context, ModuleStr);
legacy::PassManager Passes;
Passes.add(P);
Passes.run(*M);
@@ -150,7 +149,7 @@ TEST(UnrollAnalyzerTest, OuterLoopSimpli
UnrollAnalyzerTest *P = new UnrollAnalyzerTest();
LLVMContext Context;
- std::unique_ptr<Module> M = makeLLVMModule(Context, P, ModuleStr);
+ std::unique_ptr<Module> M = makeLLVMModule(Context, ModuleStr);
legacy::PassManager Passes;
Passes.add(P);
Passes.run(*M);
@@ -195,7 +194,7 @@ TEST(UnrollAnalyzerTest, CmpSimplificati
"}\n";
UnrollAnalyzerTest *P = new UnrollAnalyzerTest();
LLVMContext Context;
- std::unique_ptr<Module> M = makeLLVMModule(Context, P, ModuleStr);
+ std::unique_ptr<Module> M = makeLLVMModule(Context, ModuleStr);
legacy::PassManager Passes;
Passes.add(P);
Passes.run(*M);
@@ -242,7 +241,7 @@ TEST(UnrollAnalyzerTest, PtrCmpSimplific
"}\n";
UnrollAnalyzerTest *P = new UnrollAnalyzerTest();
LLVMContext Context;
- std::unique_ptr<Module> M = makeLLVMModule(Context, P, ModuleStr);
+ std::unique_ptr<Module> M = makeLLVMModule(Context, ModuleStr);
legacy::PassManager Passes;
Passes.add(P);
Passes.run(*M);
@@ -288,7 +287,7 @@ TEST(UnrollAnalyzerTest, CastSimplificat
UnrollAnalyzerTest *P = new UnrollAnalyzerTest();
LLVMContext Context;
- std::unique_ptr<Module> M = makeLLVMModule(Context, P, ModuleStr);
+ std::unique_ptr<Module> M = makeLLVMModule(Context, ModuleStr);
legacy::PassManager Passes;
Passes.add(P);
Passes.run(*M);
More information about the llvm-commits
mailing list