| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
[mlir][NFC] update mlir/examples create APIs (31/n) (#150652) See https://github.com/llvm/llvm-project/pull/147168 for more info. | 1 年前 | |
[mlir] Use llvm accumulate wrappers. NFCI. (#162957) Use wrappers around std::accumulate to make the code more concise and less bug-prone: https://github.com/llvm/llvm-project/pull/162129. With std::accumulate, it's the initial value that determines the accumulator type. llvm::sum_of and llvm::product_of pick the right accumulator type based on the range element type. Found some funny bugs like a local accumulate helper that calculated a sum with initial value of 1 -- we didn't hit the bug because the code was actually dead... | 9 个月前 | |
[MLIR] Apply clang-tidy fixes for misc-use-internal-linkage in toy Tutorial (NFC) | 11 个月前 | |
[mlir] Move FunctionInterfaces to Interfaces directory and inherit from CallableOpInterface Functions are always callable operations and thus every operation implementing the FunctionOpInterface also implements the CallableOpInterface. The only exception was the FuncOp in the toy example. To make implementation of the FunctionOpInterface easier, this commit lets FunctionOpInterface inherit from CallableOpInterface and merges some of their methods. More precisely, the CallableOpInterface has methods to get the argument and result attributes and a method to get the result types of the callable region. These methods are always implemented the same way as their analogues in FunctionOpInterface and thus this commit moves all the argument and result attribute handling methods to the callable interface as well as the methods to get the argument and result types. The FuntionOpInterface then does not have to declare them as well, but just inherits them from the CallableOpInterface. Adding the inheritance relation also required to move the FunctionOpInterface from the IR directory to the Interfaces directory since IR should not depend on Interfaces. Reviewed By: jpienaar, springerm Differential Revision: https://reviews.llvm.org/D157988 | 2 年前 | |
[MLIR] Apply clang-tidy fixes for misc-use-internal-linkage in toy Tutorial (NFC) | 11 个月前 |
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
| 1 年前 | ||
| 9 个月前 | ||
| 11 个月前 | ||
| 2 年前 | ||
| 11 个月前 |