diff options
| author | Alexander Belyaev <pifon@google.com> | 2019-12-11 07:16:47 -0800 |
|---|---|---|
| committer | A. Unique TensorFlower <gardener@tensorflow.org> | 2019-12-11 07:17:21 -0800 |
| commit | 984fdde269f7f9421f9cd444a5c11d7b096b711e (patch) | |
| tree | c8a88fd2ef8e4e5f717abd38607f3e210633c91d /mlir/test/lib/Transforms | |
| parent | b96f86daaf8420cd61a0459de14f196c8eca871b (diff) | |
| download | bcm5719-llvm-984fdde269f7f9421f9cd444a5c11d7b096b711e.tar.gz bcm5719-llvm-984fdde269f7f9421f9cd444a5c11d7b096b711e.zip | |
Automated rollback of commit 98fbf41044d3364dbaf18db81b9e8d9520d14761
PiperOrigin-RevId: 284979684
Diffstat (limited to 'mlir/test/lib/Transforms')
| -rw-r--r-- | mlir/test/lib/Transforms/CMakeLists.txt | 1 | ||||
| -rw-r--r-- | mlir/test/lib/Transforms/TestLiveness.cpp | 42 |
2 files changed, 0 insertions, 43 deletions
diff --git a/mlir/test/lib/Transforms/CMakeLists.txt b/mlir/test/lib/Transforms/CMakeLists.txt index b6338e1d167..2d5f37a5fc5 100644 --- a/mlir/test/lib/Transforms/CMakeLists.txt +++ b/mlir/test/lib/Transforms/CMakeLists.txt @@ -4,7 +4,6 @@ add_llvm_library(MLIRTestTransforms TestLoopFusion.cpp TestInlining.cpp TestLinalgTransforms.cpp - TestLiveness.cpp TestLoopMapping.cpp TestLoopParametricTiling.cpp TestOpaqueLoc.cpp diff --git a/mlir/test/lib/Transforms/TestLiveness.cpp b/mlir/test/lib/Transforms/TestLiveness.cpp deleted file mode 100644 index d97060247f4..00000000000 --- a/mlir/test/lib/Transforms/TestLiveness.cpp +++ /dev/null @@ -1,42 +0,0 @@ -//===- TestLiveness.cpp - Test liveness construction and information -//-------===// -// -// Copyright 2019 The MLIR Authors. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// ============================================================================= -// -// This file contains test passes for constructing and resolving liveness -// information. -// -//===----------------------------------------------------------------------===// - -#include "mlir/Analysis/Liveness.h" -#include "mlir/Pass/Pass.h" - -using namespace mlir; - -namespace { - -struct TestLivenessPass : public FunctionPass<TestLivenessPass> { - void runOnFunction() override { - llvm::errs() << "Testing : " << getFunction().getName() << "\n"; - getAnalysis<Liveness>().print(llvm::errs()); - } -}; - -} // end anonymous namespace - -static PassRegistration<TestLivenessPass> - pass("test-print-liveness", - "Print the contents of a constructed liveness information."); |

