[mlir][SymbolDCE][NFC] Fix the visibility of the symbols within the test and

move it to test/Transforms/
This commit is contained in:
River Riddle 2020-04-13 00:19:14 -07:00
parent f06cf9da89
commit 43cf489cf5
1 changed files with 2 additions and 2 deletions

View File

@ -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" }