Skip to content

Commit b54cb1d

Browse files
[NFC] Move DroppedVariableStats code to Analysis
1 parent b905bcc commit b54cb1d

File tree

5 files changed

+3
-3
lines changed

5 files changed

+3
-3
lines changed

llvm/include/llvm/Passes/StandardInstrumentations.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,13 @@
1919
#include "llvm/ADT/SmallVector.h"
2020
#include "llvm/ADT/StringRef.h"
2121
#include "llvm/ADT/StringSet.h"
22+
#include "llvm/Analysis/DroppedVariableStats.h"
2223
#include "llvm/CodeGen/MachineBasicBlock.h"
2324
#include "llvm/IR/BasicBlock.h"
2425
#include "llvm/IR/DebugInfoMetadata.h"
2526
#include "llvm/IR/OptBisect.h"
2627
#include "llvm/IR/PassTimingInfo.h"
2728
#include "llvm/IR/ValueHandle.h"
28-
#include "llvm/Passes/DroppedVariableStats.h"
2929
#include "llvm/Support/CommandLine.h"
3030
#include "llvm/Support/TimeProfiler.h"
3131
#include "llvm/Transforms/IPO/SampleProfileProbe.h"

llvm/lib/Analysis/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ add_llvm_component_library(LLVMAnalysis
6060
DomPrinter.cpp
6161
DomTreeUpdater.cpp
6262
DominanceFrontier.cpp
63+
DroppedVariableStats.cpp
6364
DXILResource.cpp
6465
DXILMetadataAnalysis.cpp
6566
FunctionPropertiesAnalysis.cpp

llvm/lib/Passes/DroppedVariableStats.cpp renamed to llvm/lib/Analysis/DroppedVariableStats.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
///
1212
///===---------------------------------------------------------------------===//
1313

14-
#include "llvm/Passes/DroppedVariableStats.h"
14+
#include "llvm/Analysis/DroppedVariableStats.h"
1515
#include "llvm/IR/DebugInfoMetadata.h"
1616
#include "llvm/IR/InstIterator.h"
1717
#include "llvm/IR/Module.h"

llvm/lib/Passes/CMakeLists.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
add_llvm_component_library(LLVMPasses
22
CodeGenPassBuilder.cpp
3-
DroppedVariableStats.cpp
43
OptimizationLevel.cpp
54
PassBuilder.cpp
65
PassBuilderBindings.cpp

0 commit comments

Comments
 (0)