| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
[mlir][Pass] Include anchor op in -pass-pipeline In D134622 the printed form of a pass manager is changed to include the name of the op that the pass manager is anchored on. This updates the -pass-pipeline argument format to include the anchor op as well, so that the printed form of a pipeline can be directly passed to -pass-pipeline. In most cases this requires updating -pass-pipeline='pipeline' to -pass-pipeline='builtin.module(pipeline)'. This also fixes an outdated assert that prevented running a PassManager anchored on 'any'. Reviewed By: rriddle Differential Revision: https://reviews.llvm.org/D134900 | 3 年前 | |
[mlir] Use arith max or min ops instead of cmp + select (#82178) I believe the semantics should be the same, but this saves 1 op and simplifies the code. For example, the following two instructions: %2 = cmp sgt %0, %1 %3 = select %2, %0, %1 Are equivalent to: %2 = maxsi %0 %1 | 2 年前 |
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
| 3 年前 | ||
| 2 年前 |