[Mlir-commits] [mlir] 43cf489 - [mlir][SymbolDCE][NFC] Fix the visibility of the symbols within the test and
River Riddle
llvmlistbot at llvm.org
Mon Apr 13 00:33:24 PDT 2020
Author: River Riddle
Date: 2020-04-13T00:33:11-07:00
New Revision: 43cf489cf5c3b2178d23240dd88e9306fb8589e2
URL: https://github.com/llvm/llvm-project/commit/43cf489cf5c3b2178d23240dd88e9306fb8589e2
DIFF: https://github.com/llvm/llvm-project/commit/43cf489cf5c3b2178d23240dd88e9306fb8589e2.diff
LOG: [mlir][SymbolDCE][NFC] Fix the visibility of the symbols within the test and
move it to test/Transforms/
Added:
mlir/test/Transforms/test-symbol-dce.mlir
Modified:
Removed:
mlir/test/IR/test-symbol-dce.mlir
################################################################################
diff --git a/mlir/test/IR/test-symbol-dce.mlir b/mlir/test/Transforms/test-symbol-dce.mlir
similarity index 95%
rename from mlir/test/IR/test-symbol-dce.mlir
rename to mlir/test/Transforms/test-symbol-dce.mlir
index 9193c4716c3c..f81c2ca84894 100644
--- a/mlir/test/IR/test-symbol-dce.mlir
+++ b/mlir/test/Transforms/test-symbol-dce.mlir
@@ -6,13 +6,13 @@
// CHECK-LABEL: module attributes {test.simple}
module attributes {test.simple} {
// CHECK-NOT: func @dead_private_function
- func @dead_private_function() attributes { sym_visibility = "nested" }
+ func @dead_private_function() attributes { sym_visibility = "private" }
// CHECK-NOT: func @dead_nested_function
func @dead_nested_function() attributes { sym_visibility = "nested" }
// CHECK: func @live_private_function
- func @live_private_function() attributes { sym_visibility = "nested" }
+ func @live_private_function() attributes { sym_visibility = "private" }
// CHECK: func @live_nested_function
func @live_nested_function() attributes { sym_visibility = "nested" }
More information about the Mlir-commits
mailing list