| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
[mlir] Rework the implementation of TypeID This commit restructures how TypeID is implemented to ideally avoid the current problems related to shared libraries. This is done by changing the "implicit" fallback path to use the name of the type, instead of using a static template variable (which breaks shared libraries). The major downside to this is that it adds some additional initialization costs for the implicit path. Given the use of type names for uniqueness in the fallback, we also no longer allow types defined in anonymous namespaces to have an implicit TypeID. To simplify defining an ID for these classes, a new MLIR_DEFINE_EXPLICIT_INTERNAL_INLINE_TYPE_ID macro was added to allow for explicitly defining a TypeID directly on an internal class. To help identify when types are using the fallback, -debug-only=typeid can be used to log which types are using implicit ids. This change generally only requires changes to the test passes, which are all defined in anonymous namespaces, and thus can't use the fallback any longer. Differential Revision: https://reviews.llvm.org/D122775 | 4 年前 | |
[mlir] Remove unneeded cl::ZeroOrMore for ListOption variables. NFC | 3 年前 | |
Support: Stop using F_{None,Text,Append} compatibility synonyms, NFC Stop using the compatibility spellings of OF_{None,Text,Append} left behind by 1f67a3cba9b09636c56e2109d8a35ae96dc15782. A follow-up will remove them. Differential Revision: https://reviews.llvm.org/D101650 | 5 年前 | |
[mlir][ods] AttrOrTypeGen uses Class AttrOrType def generator uses Class code gen helper, instead of naked raw_ostream. Depends on D113714 and D114807 Reviewed By: rriddle Differential Revision: https://reviews.llvm.org/D113715 | 4 年前 | |
[mlir] Move InterfaceMap::InterfaceMap to the cpp file So we don't end up with a copy of std::sort in every dialect definition. NFCI. | 4 年前 | |
Fix more clang-tidy cleanups in mlir/ (NFC) | 4 年前 | |
Don't use Optional::hasValue (NFC) | 3 年前 | |
[mlir] Add enableSplitting and insertMarkerInOutput options to splitAndProcessBuffer enableSplitting simply enables/disables whether we should split or use the full buffer. insertMarkerInOutput toggles if split markers should be inserted in between prcessed output chunks. These options allow for merging the duplicate code paths we have when splitting is optional. Differential Revision: https://reviews.llvm.org/D128764 | 3 年前 | |
[mlir] Fix the error message for missing explicit TypeID Summary: The error message was incorrect Reviewers: rriddle Subscribers: | 4 年前 |
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
| 4 年前 | ||
| 3 年前 | ||
| 5 年前 | ||
| 4 年前 | ||
| 4 年前 | ||
| 4 年前 | ||
| 3 年前 | ||
| 3 年前 | ||
| 4 年前 |