- reinterpret_cast(reinterpret_cast(x)) -> reinterpret_cast(x)
- reinterpret_cast(cast(x)) -> reinterpret_cast(x)
- reinterpret_cast(subview(x)) -> reinterpret_cast(x) if subview offsets are 0
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
| mlir/lib/Dialect/MemRef/IR/MemRefOps.cpp | ||
|---|---|---|
| 1363 | Sorry, I didn't quite get this comment. Renamed to isZeroVal anyway. | |
| mlir/lib/Dialect/MemRef/IR/MemRefOps.cpp | ||
|---|---|---|
| 1363 | isZero was what I meant instead of is0. This is fine now. | |
| mlir/include/mlir/Dialect/Utils/StaticValueUtils.h | ||
|---|---|---|
| 56 ↗ | (On Diff #414649) | nit: typo |
| mlir/lib/Dialect/Utils/StaticValueUtils.cpp | ||
|---|---|---|
| 84 ↗ | (On Diff #414649) | nit: typo |
Avoid suffixed names like is0.