From 452980fb2c4d6f9a801a79323b37e2804451273b Mon Sep 17 00:00:00 2001 From: Evgeniy Stepanov Date: Tue, 22 Sep 2015 00:44:32 +0000 Subject: [PATCH] Remove unused TargetTransformInfo dependency from SafeStack pass. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@248233 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Transforms/Instrumentation/SafeStack.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/lib/Transforms/Instrumentation/SafeStack.cpp b/lib/Transforms/Instrumentation/SafeStack.cpp index cf68653afc6..fdf96cc130a 100644 --- a/lib/Transforms/Instrumentation/SafeStack.cpp +++ b/lib/Transforms/Instrumentation/SafeStack.cpp @@ -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 &F) { 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)