| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
[MLIR][DLTI] Enable types as keys in DLTI-query utils (#105995) Enable support for query functions - including transform.dlti.query - to take types as keys. As the data layout specific attributes already supported types as keys, this change enables querying such attributes in the expected way. | 1 年前 | |
[MLIR][DLTI][Transform] Introduce transform.dlti.query - 2nd attempt (#102652) This transform op makes it possible to query attributes associated to IR by means of the DLTI dialect. The op takes both a key and a target op to perform the query at. Facility functions automatically find the closest ancestor op which defines the appropriate DLTI interface or has an attribute implementing a DLTI interface. By default the lookup uses the data layout interfaces of DLTI. If the optional device parameter is provided, the lookup happens with respect to the interfaces for TargetSystemSpec and TargetDeviceSpec. This op uses new free-standing functions in the dlti namespace to not only look up specifications via the DataLayoutSpecOpInterface and on ModuleOps but also on any ancestor op that has an appropriate DLTI attribute. | 1 年前 | |
[mlir] Remove redundant declarations (NFC) (#166714) In C++17, static constexpr members are implicitly inline, so they no longer require an out-of-line definition. Identified with readability-redundant-declaration. | 8 个月前 | |
[MLIR][LLVMIR][DLTI] Add LLVM::TargetAttrInterface and #llvm.target attr (#145899) Adds the #llvm.target<triple = $TRIPLE, chip = $CHIP, features = $FEATURES> attribute and along with a -llvm-target-to-data-layout pass to derive a MLIR data layout from the LLVM data layout string (using the existing DataLayoutImporter). The attribute implements the relevant DLTI-interfaces, to expose the triple, chip (AKA cpu) and features on #llvm.target and the full DataLayoutSpecInterface. The pass combines the generated #dlti.dl_spec with an existing dl_spec in case one is already present, e.g. a dl_spec which is there to specify size of the index type. Adds a TargetAttrInterface which can be implemented by all attributes representing LLVM targets. Similar to the Draft PR https://github.com/llvm/llvm-project/pull/78073. RFC on which this PR is based: https://discourse.llvm.org/t/mandatory-data-layout-in-the-llvm-dialect/85875 | 11 个月前 |
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
| 1 年前 | ||
| 1 年前 | ||
| 8 个月前 | ||
| 11 个月前 |