[llvm] r248233 - Remove unused TargetTransformInfo dependency from SafeStack pass.

Evgeniy Stepanov via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 21 17:44:32 PDT 2015


Author: eugenis
Date: Mon Sep 21 19:44:32 2015
New Revision: 248233

URL: http://llvm.org/viewvc/llvm-project?rev=248233&view=rev
Log:
Remove unused TargetTransformInfo dependency from SafeStack pass.

Modified:
    llvm/trunk/lib/Transforms/Instrumentation/SafeStack.cpp

Modified: llvm/trunk/lib/Transforms/Instrumentation/SafeStack.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/Instrumentation/SafeStack.cpp?rev=248233&r1=248232&r2=248233&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/Instrumentation/SafeStack.cpp (original)
+++ llvm/trunk/lib/Transforms/Instrumentation/SafeStack.cpp Mon Sep 21 19:44:32 2015
@@ -19,7 +19,6 @@
 #include "llvm/ADT/Statistic.h"
 #include "llvm/ADT/Triple.h"
 #include "llvm/Analysis/AliasAnalysis.h"
-#include "llvm/Analysis/TargetTransformInfo.h"
 #include "llvm/IR/Constants.h"
 #include "llvm/IR/DataLayout.h"
 #include "llvm/IR/DerivedTypes.h"
@@ -601,7 +600,6 @@ bool SafeStack::runOnFunction(Function &
 char SafeStack::ID = 0;
 INITIALIZE_PASS_BEGIN(SafeStack, "safe-stack",
                       "Safe Stack instrumentation pass", false, false)
-INITIALIZE_PASS_DEPENDENCY(TargetTransformInfoWrapperPass)
 INITIALIZE_PASS_END(SafeStack, "safe-stack", "Safe Stack instrumentation pass",
                     false, false)
 




More information about the llvm-commits mailing list