LLorenzo Chelini[MLIR] Fix compiler warnings (NFC)
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
[mlir][transform] Utilize op interface instead of tensor::TrackingListener Add a new interface FindPayloadReplacementOpInterface to specify ops that should be skipped when looking for payload replacement ops. Such ops are typically metadata-only ops. With this change, we no longer need to maintain a custom TrackingListener in the tensor dialect. Note: CastOpInterface by itself is not sufficient. Some metadata-only ops such as "tensor.reshape" are not casts, and it would be incorrect for them to implement the CastOpInterface. Differential Revision: https://reviews.llvm.org/D151888 | 3 年前 | |
[MLIR] Fix compiler warnings (NFC) In TestTensorTransforms.cpp replaced is nullptr I assumed the intent was to emit the error for the rootOp. In TransformInterfaces.cpp there were some uninitialized variables. In NVGPUTransformOps.cpp matmulOp was never used. Reviewed By: ftynse Differential Revision: https://reviews.llvm.org/D154439 | 3 年前 |