forked from llvm/llvm-project
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #257 from Xilinx/bump_to_516ccce7fa26
Bump to 2e271ce (needs onnx-mlir update) (2)
- Loading branch information
Showing
12 changed files
with
191 additions
and
59 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
// Check that (1) the default input split marker used if no custom marker is | ||
// specified and (2) the output file is merged using the default marker. | ||
// RUN: mlir-pdll %s -split-input-file \ | ||
// RUN: | FileCheck -check-prefix=CHECK-DEFAULT %s | ||
|
||
// Check that the custom (3) input and (output) split markers are used if | ||
// provided. | ||
// RUN: mlir-pdll %s \ | ||
// RUN: -split-input-file="// ""=====" -output-split-marker "// #####" \ | ||
// RUN: | FileCheck -check-prefix=CHECK-CUSTOM %s | ||
|
||
// CHECK-DEFAULT: Module | ||
// CHECK-DEFAULT-NEXT: PatternDecl | ||
// CHECK-DEFAULT-NOT: PatternDecl | ||
// CHECK-DEFAULT: //{{ }}----- | ||
// CHECK-DEFAULT-NEXT: Module | ||
// CHECK-DEFAULT-NEXT: PatternDecl | ||
// CHECK-DEFAULT: PatternDecl | ||
|
||
// CHECK-CUSTOM: Module | ||
// CHECK-CUSTOM-NEXT: PatternDecl | ||
// CHECK-CUSTOM: PatternDecl | ||
// CHECK-CUSTOM: // ##### | ||
// CHECK-CUSTOM-NEXT: Module | ||
// CHECK-CUSTOM-NEXT: PatternDecl | ||
// CHECK-CUSTOM-NOT: PatternDecl | ||
|
||
Pattern => erase op<test.op>; | ||
|
||
// ----- | ||
|
||
Pattern => erase op<test.op2>; | ||
|
||
// ===== | ||
|
||
Pattern => erase op<test.op3>; |
Oops, something went wrong.