-
Notifications
You must be signed in to change notification settings - Fork 19
Integrate internal changes #664
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 |
|---|---|---|
| @@ -1,18 +1,17 @@ | ||
| From f014186374bb3e71d44648781dc03aaefd29f0d5 Mon Sep 17 00:00:00 2001 | ||
| From: Christopher Bate <[email protected]> | ||
| Date: Fri, 10 May 2024 22:39:44 -0600 | ||
| Subject: [PATCH 05/10] [mlir][memref] Fix memref.global overly constrained | ||
| verifier check | ||
| From 07f534dac7f915a496265c14745c0bc643185efe Mon Sep 17 00:00:00 2001 | ||
| From: Sagar Shelke <[email protected]> | ||
| Date: Tue, 1 Jul 2025 00:17:04 +0000 | ||
| Subject: [PATCH] Apply patch 0005 | ||
|
|
||
| --- | ||
| mlir/lib/Dialect/MemRef/IR/MemRefOps.cpp | 10 ++++++---- | ||
| 1 file changed, 6 insertions(+), 4 deletions(-) | ||
|
|
||
| diff --git a/mlir/lib/Dialect/MemRef/IR/MemRefOps.cpp b/mlir/lib/Dialect/MemRef/IR/MemRefOps.cpp | ||
| index 4f75b7618d63..f12f41437759 100644 | ||
| index 11597505e788..66ce4b3638b0 100644 | ||
| --- a/mlir/lib/Dialect/MemRef/IR/MemRefOps.cpp | ||
| +++ b/mlir/lib/Dialect/MemRef/IR/MemRefOps.cpp | ||
| @@ -1117,7 +1117,7 @@ struct DimOfMemRefReshape : public OpRewritePattern<DimOp> { | ||
| @@ -1124,7 +1124,7 @@ struct DimOfMemRefReshape : public OpRewritePattern<DimOp> { | ||
| } | ||
| } // else dim.getIndex is a block argument to reshape->getBlock and | ||
| // dominates reshape | ||
|
|
@@ -21,7 +20,7 @@ index 4f75b7618d63..f12f41437759 100644 | |
| else if (dim->getBlock() != reshape->getBlock() && | ||
| !dim.getIndex().getParentRegion()->isProperAncestor( | ||
| reshape->getParentRegion())) { | ||
| @@ -1607,9 +1607,11 @@ LogicalResult GlobalOp::verify() { | ||
| @@ -1614,9 +1614,11 @@ LogicalResult GlobalOp::verify() { | ||
| // Check that the type of the initial value is compatible with the type of | ||
| // the global variable. | ||
| if (auto elementsAttr = llvm::dyn_cast<ElementsAttr>(initValue)) { | ||
|
|
@@ -37,5 +36,5 @@ index 4f75b7618d63..f12f41437759 100644 | |
| << tensorType << ", but was of type " << initType; | ||
| } | ||
| -- | ||
| 2.46.0 | ||
| 2.48.1 | ||
|
|
||
This file contains hidden or 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
29 changes: 0 additions & 29 deletions
29
.../build_tools/patches/mlir/0008-MLIR-Remove-unnecessary-include-from-MathToEmitC.h-t.patch
This file was deleted.
Oops, something went wrong.
This file contains hidden or 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 |
|---|---|---|
| @@ -1,15 +1,14 @@ | ||
| From 51c99ccf1a291295aed12a36395760026c268cbb Mon Sep 17 00:00:00 2001 | ||
| From: Christopher Bate <[email protected]> | ||
| Date: Tue, 11 Mar 2025 22:34:24 +0000 | ||
| Subject: [PATCH 09/10] [mlir] Support FileLineColRange in LLVM debug | ||
| translation | ||
| From d679ee8c7978fe63321e90c5c6583b604ca3d1a5 Mon Sep 17 00:00:00 2001 | ||
| From: Sagar Shelke <[email protected]> | ||
| Date: Tue, 1 Jul 2025 00:25:43 +0000 | ||
| Subject: [PATCH] Apply patch 0009 | ||
|
|
||
| --- | ||
| mlir/lib/Target/LLVMIR/DebugTranslation.cpp | 8 ++++++++ | ||
| 1 file changed, 8 insertions(+) | ||
|
|
||
| diff --git a/mlir/lib/Target/LLVMIR/DebugTranslation.cpp b/mlir/lib/Target/LLVMIR/DebugTranslation.cpp | ||
| index cf734de49acd..c55d9a204468 100644 | ||
| index 1d3ed6f3262f..93e1d08faf4f 100644 | ||
| --- a/mlir/lib/Target/LLVMIR/DebugTranslation.cpp | ||
| +++ b/mlir/lib/Target/LLVMIR/DebugTranslation.cpp | ||
| @@ -547,6 +547,14 @@ llvm::DILocation *DebugTranslation::translateLoc(Location loc, | ||
|
|
@@ -28,5 +27,5 @@ index cf734de49acd..c55d9a204468 100644 | |
| ArrayRef<Location> locations = fusedLoc.getLocations(); | ||
|
|
||
| -- | ||
| 2.46.0 | ||
| 2.48.1 | ||
|
|
||
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.