[llvm] Revert "[SandboxIR][NFC] Move Region from SandboxVectorizer to SandboxIR." (PR #110177)
Jorge Gorbe Moya via llvm-commits
llvm-commits at lists.llvm.org
Thu Sep 26 14:56:11 PDT 2024
https://github.com/slackito created https://github.com/llvm/llvm-project/pull/110177
Reverts llvm/llvm-project#110173. Missed an #include with the old path.
>From 4b2d897e9dcacf206ccd2b2326621a25d11727e5 Mon Sep 17 00:00:00 2001
From: Jorge Gorbe Moya <slack at codemaniacs.com>
Date: Thu, 26 Sep 2024 14:55:52 -0700
Subject: [PATCH] =?UTF-8?q?Revert=20"[SandboxIR][NFC]=20Move=20Region=20fr?=
=?UTF-8?q?om=20SandboxVectorizer=20to=20SandboxIR.=20(#1=E2=80=A6"?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
This reverts commit 3d9ed92630fb2a3282ba4a49b43d6eccca2f3509.
---
.../Vectorize/SandboxVectorizer}/Region.h | 0
llvm/lib/SandboxIR/CMakeLists.txt | 1 -
llvm/lib/Transforms/Vectorize/CMakeLists.txt | 1 +
.../Vectorize/SandboxVectorizer}/Region.cpp | 2 +-
llvm/unittests/SandboxIR/CMakeLists.txt | 1 -
.../Transforms/Vectorize/SandboxVectorizer/CMakeLists.txt | 1 +
.../Vectorize/SandboxVectorizer}/RegionTest.cpp | 0
7 files changed, 3 insertions(+), 3 deletions(-)
rename llvm/include/llvm/{SandboxIR => Transforms/Vectorize/SandboxVectorizer}/Region.h (100%)
rename llvm/lib/{SandboxIR => Transforms/Vectorize/SandboxVectorizer}/Region.cpp (96%)
rename llvm/unittests/{SandboxIR => Transforms/Vectorize/SandboxVectorizer}/RegionTest.cpp (100%)
diff --git a/llvm/include/llvm/SandboxIR/Region.h b/llvm/include/llvm/Transforms/Vectorize/SandboxVectorizer/Region.h
similarity index 100%
rename from llvm/include/llvm/SandboxIR/Region.h
rename to llvm/include/llvm/Transforms/Vectorize/SandboxVectorizer/Region.h
diff --git a/llvm/lib/SandboxIR/CMakeLists.txt b/llvm/lib/SandboxIR/CMakeLists.txt
index a1295d67bc54f7..6386fc908388a0 100644
--- a/llvm/lib/SandboxIR/CMakeLists.txt
+++ b/llvm/lib/SandboxIR/CMakeLists.txt
@@ -3,7 +3,6 @@ add_llvm_component_library(LLVMSandboxIR
Module.cpp
Pass.cpp
PassManager.cpp
- Region.cpp
SandboxIR.cpp
Tracker.cpp
Type.cpp
diff --git a/llvm/lib/Transforms/Vectorize/CMakeLists.txt b/llvm/lib/Transforms/Vectorize/CMakeLists.txt
index eeff4a9f6a8bae..8bd3dbf0695733 100644
--- a/llvm/lib/Transforms/Vectorize/CMakeLists.txt
+++ b/llvm/lib/Transforms/Vectorize/CMakeLists.txt
@@ -5,6 +5,7 @@ add_llvm_component_library(LLVMVectorize
LoopVectorize.cpp
SandboxVectorizer/DependencyGraph.cpp
SandboxVectorizer/Passes/BottomUpVec.cpp
+ SandboxVectorizer/Region.cpp
SandboxVectorizer/SandboxVectorizer.cpp
SLPVectorizer.cpp
Vectorize.cpp
diff --git a/llvm/lib/SandboxIR/Region.cpp b/llvm/lib/Transforms/Vectorize/SandboxVectorizer/Region.cpp
similarity index 96%
rename from llvm/lib/SandboxIR/Region.cpp
rename to llvm/lib/Transforms/Vectorize/SandboxVectorizer/Region.cpp
index b14c87f44260f9..5f2c28484f62bc 100644
--- a/llvm/lib/SandboxIR/Region.cpp
+++ b/llvm/lib/Transforms/Vectorize/SandboxVectorizer/Region.cpp
@@ -6,7 +6,7 @@
//
//===----------------------------------------------------------------------===//
-#include "llvm/SandboxIR/Region.h"
+#include "llvm/Transforms/Vectorize/SandboxVectorizer/Region.h"
namespace llvm::sandboxir {
diff --git a/llvm/unittests/SandboxIR/CMakeLists.txt b/llvm/unittests/SandboxIR/CMakeLists.txt
index 622496ada567fc..2ab284a511fcaa 100644
--- a/llvm/unittests/SandboxIR/CMakeLists.txt
+++ b/llvm/unittests/SandboxIR/CMakeLists.txt
@@ -7,7 +7,6 @@ set(LLVM_LINK_COMPONENTS
add_llvm_unittest(SandboxIRTests
PassTest.cpp
- RegionTest.cpp
SandboxIRTest.cpp
TrackerTest.cpp
TypesTest.cpp
diff --git a/llvm/unittests/Transforms/Vectorize/SandboxVectorizer/CMakeLists.txt b/llvm/unittests/Transforms/Vectorize/SandboxVectorizer/CMakeLists.txt
index b0ef71ba2114a1..86b1d968094cab 100644
--- a/llvm/unittests/Transforms/Vectorize/SandboxVectorizer/CMakeLists.txt
+++ b/llvm/unittests/Transforms/Vectorize/SandboxVectorizer/CMakeLists.txt
@@ -11,4 +11,5 @@ add_llvm_unittest(SandboxVectorizerTests
DependencyGraphTest.cpp
InstrIntervalTest.cpp
LegalityTest.cpp
+ RegionTest.cpp
)
diff --git a/llvm/unittests/SandboxIR/RegionTest.cpp b/llvm/unittests/Transforms/Vectorize/SandboxVectorizer/RegionTest.cpp
similarity index 100%
rename from llvm/unittests/SandboxIR/RegionTest.cpp
rename to llvm/unittests/Transforms/Vectorize/SandboxVectorizer/RegionTest.cpp
More information about the llvm-commits
mailing list