Skip to content

Commit e4d7e8c

Browse files
slackitopuja2196
authored andcommitted
Reapply "[SandboxIR][NFC] Move Region from SandboxVectorizer to SandboxIR." (#110173) (#110181)
Re-applies llvm/llvm-project#110173 after fixing build break.
1 parent 7e4e053 commit e4d7e8c

File tree

7 files changed

+4
-4
lines changed

7 files changed

+4
-4
lines changed

llvm/lib/SandboxIR/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ add_llvm_component_library(LLVMSandboxIR
55
Module.cpp
66
Pass.cpp
77
PassManager.cpp
8+
Region.cpp
89
SandboxIR.cpp
910
Tracker.cpp
1011
Type.cpp

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
//
77
//===----------------------------------------------------------------------===//
88

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

1111
namespace llvm::sandboxir {
1212

llvm/lib/Transforms/Vectorize/CMakeLists.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ add_llvm_component_library(LLVMVectorize
55
LoopVectorize.cpp
66
SandboxVectorizer/DependencyGraph.cpp
77
SandboxVectorizer/Passes/BottomUpVec.cpp
8-
SandboxVectorizer/Region.cpp
98
SandboxVectorizer/SandboxVectorizer.cpp
109
SLPVectorizer.cpp
1110
Vectorize.cpp

llvm/unittests/SandboxIR/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ set(LLVM_LINK_COMPONENTS
77

88
add_llvm_unittest(SandboxIRTests
99
PassTest.cpp
10+
RegionTest.cpp
1011
SandboxIRTest.cpp
1112
TrackerTest.cpp
1213
TypesTest.cpp

llvm/unittests/Transforms/Vectorize/SandboxVectorizer/RegionTest.cpp renamed to llvm/unittests/SandboxIR/RegionTest.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
//
77
//===----------------------------------------------------------------------===//
88

9-
#include "llvm/Transforms/Vectorize/SandboxVectorizer/Region.h"
9+
#include "llvm/SandboxIR/Region.h"
1010
#include "llvm/AsmParser/Parser.h"
1111
#include "llvm/SandboxIR/SandboxIR.h"
1212
#include "llvm/Support/SourceMgr.h"

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,4 @@ add_llvm_unittest(SandboxVectorizerTests
1111
DependencyGraphTest.cpp
1212
IntervalTest.cpp
1313
LegalityTest.cpp
14-
RegionTest.cpp
1514
)

0 commit comments

Comments
 (0)