Skip to content

Commit 74f276d

Browse files
authored
Revert "[SandboxIR][NFC] Move Region from SandboxVectorizer to SandboxIR." (#110177)
Reverts #110173. Missed an #include with the old path.
1 parent 3d9ed92 commit 74f276d

File tree

7 files changed

+3
-3
lines changed

7 files changed

+3
-3
lines changed

llvm/lib/SandboxIR/CMakeLists.txt

-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ add_llvm_component_library(LLVMSandboxIR
33
Module.cpp
44
Pass.cpp
55
PassManager.cpp
6-
Region.cpp
76
SandboxIR.cpp
87
Tracker.cpp
98
Type.cpp

llvm/lib/Transforms/Vectorize/CMakeLists.txt

+1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ add_llvm_component_library(LLVMVectorize
55
LoopVectorize.cpp
66
SandboxVectorizer/DependencyGraph.cpp
77
SandboxVectorizer/Passes/BottomUpVec.cpp
8+
SandboxVectorizer/Region.cpp
89
SandboxVectorizer/SandboxVectorizer.cpp
910
SLPVectorizer.cpp
1011
Vectorize.cpp

llvm/lib/SandboxIR/Region.cpp renamed to llvm/lib/Transforms/Vectorize/SandboxVectorizer/Region.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
//
77
//===----------------------------------------------------------------------===//
88

9-
#include "llvm/SandboxIR/Region.h"
9+
#include "llvm/Transforms/Vectorize/SandboxVectorizer/Region.h"
1010

1111
namespace llvm::sandboxir {
1212

llvm/unittests/SandboxIR/CMakeLists.txt

-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ set(LLVM_LINK_COMPONENTS
77

88
add_llvm_unittest(SandboxIRTests
99
PassTest.cpp
10-
RegionTest.cpp
1110
SandboxIRTest.cpp
1211
TrackerTest.cpp
1312
TypesTest.cpp

llvm/unittests/Transforms/Vectorize/SandboxVectorizer/CMakeLists.txt

+1
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,5 @@ add_llvm_unittest(SandboxVectorizerTests
1111
DependencyGraphTest.cpp
1212
InstrIntervalTest.cpp
1313
LegalityTest.cpp
14+
RegionTest.cpp
1415
)

0 commit comments

Comments
 (0)