[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.
This commit is contained in:
River Riddle 2022-05-12 13:40:16 -07:00
parent c2fb9c29b4
commit 86e1c2f097

View File

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