forked from OSchip/llvm-project
16 lines
340 B
Plaintext
16 lines
340 B
Plaintext
// RUN: mlir-pdll %s -I %S | FileCheck %s
|
|
|
|
Pattern BeforeIncludedPattern {
|
|
erase _: Op;
|
|
}
|
|
|
|
#include "include/included.pdll"
|
|
|
|
Pattern AfterIncludedPattern {
|
|
erase _: Op;
|
|
}
|
|
|
|
// CHECK: PatternDecl {{.*}} Name<BeforeIncludedPattern>
|
|
// CHECK: PatternDecl {{.*}} Name<IncludedPattern>
|
|
// CHECK: PatternDecl {{.*}} Name<AfterIncludedPattern>
|