Introduce a simplification that allows memcpy of a cast to simply use the underlying op
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
mlir/lib/Dialect/GPU/IR/GPUDialect.cpp | ||
---|---|---|
1073 | I'd rather not use LogicalResult for something that isn't "success" or "failure", this seems like a bool to me here. Also, isn't this method duplicated in many places now? Can it be made inlined in a header in the memref dialect somehow? |
mlir/lib/Dialect/GPU/IR/GPUDialect.cpp | ||
---|---|---|
1076 | Drop the mlir:: here. |
I'd rather not use LogicalResult for something that isn't "success" or "failure", this seems like a bool to me here.
Also, isn't this method duplicated in many places now? Can it be made inlined in a header in the memref dialect somehow?