[Mlir-commits] [mlir] 86e1c2f - [mlir] Fix pipeline-parsing.mlir on windows

River Riddle llvmlistbot at llvm.org
Thu May 12 13:55:45 PDT 2022


Author: River Riddle
Date: 2022-05-12T13:40:16-07:00
New Revision: 86e1c2f097ca34994fa178967e617b9e6162be98

URL: https://github.com/llvm/llvm-project/commit/86e1c2f097ca34994fa178967e617b9e6162be98
DIFF: https://github.com/llvm/llvm-project/commit/86e1c2f097ca34994fa178967e617b9e6162be98.diff

LOG: [mlir] Fix pipeline-parsing.mlir on windows

We shouldn't be making assumptions about the result of llvm::getTypeName,
which may have different results for anonymous namespaces depending
on the platform.

Added: 
    

Modified: 
    mlir/test/Pass/pipeline-parsing.mlir

Removed: 
    


################################################################################
diff  --git a/mlir/test/Pass/pipeline-parsing.mlir b/mlir/test/Pass/pipeline-parsing.mlir
index 9b0ae1fa9fac2..77519e1ed1897 100644
--- a/mlir/test/Pass/pipeline-parsing.mlir
+++ b/mlir/test/Pass/pipeline-parsing.mlir
@@ -46,13 +46,13 @@ module {
 // going to overlap with op-specific pipelines.
 // GENERIC_MERGE_CHECK:      Pipeline Collection : ['builtin.module', 'any']
 // GENERIC_MERGE_CHECK-NEXT:   'any' Pipeline
-// GENERIC_MERGE_CHECK-NEXT:     (anonymous namespace)::TestInterfacePass
+// GENERIC_MERGE_CHECK-NEXT:     TestInterfacePass
 // GENERIC_MERGE_CHECK-NEXT:   'builtin.module' Pipeline
-// GENERIC_MERGE_CHECK-NEXT:     (anonymous namespace)::TestModulePass
+// GENERIC_MERGE_CHECK-NEXT:     TestModulePass
 // GENERIC_MERGE_CHECK-NEXT: 'any' Pipeline
-// GENERIC_MERGE_CHECK-NEXT:   (anonymous namespace)::TestInterfacePass
+// GENERIC_MERGE_CHECK-NEXT:   TestInterfacePass
 // GENERIC_MERGE_CHECK-NEXT: 'func.func' Pipeline
-// GENERIC_MERGE_CHECK-NEXT:   (anonymous namespace)::TestFunctionPass
+// GENERIC_MERGE_CHECK-NEXT:   TestFunctionPass
 // GENERIC_MERGE_CHECK-NEXT: 'any' Pipeline
 // GENERIC_MERGE_CHECK-NEXT:   Canonicalizer
 // GENERIC_MERGE_CHECK-NEXT: 'func.func' Pipeline


        


More information about the Mlir-commits mailing list