| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
[mlir:PDL] Fix a syntax ambiguity in pdl.attribute pdl.attribute currently has a syntax ambiguity that leads to the incorrect parsing of pdl.attribute operations with locations that don't also have a constant value. For example: pdl.attribute loc("foo") The above IR is treated as being a pdl.attribute with a constant value containing the location, loc("foo"), which is incorrect. This commit changes the syntax to use = <constant-value> to clearly distinguish when the constant value is present, as opposed to just trying to parse an attribute. Differential Revision: https://reviews.llvm.org/D124582 | 4 年前 | |
[mlir:PDL] Add support for creating ranges in rewrites This commit adds support for building a concatenated range from a given set of elements, either single element or other ranges, within a rewrite. We could conceptually extend this to support constraining input ranges, but the logic there is quite a bit more complex so it is left for later work when a need arises. Differential Revision: https://reviews.llvm.org/D133719 | 3 年前 |
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
| 4 年前 | ||
| 3 年前 |