Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Good stuff! LGTM, but please wait for Alex ;-)
mlir/lib/Dialect/SCF/Transforms/StructuralTypeConversions.cpp | ||
---|---|---|
167 | nit pick: If somebody removes the forop comment later, this reference becomes "dangling" Why not say here why we inline? EDIT: Ah, I see that this comment was already there in the original code; it is still my concern, but see if you feel like addressing it |
mlir/lib/Dialect/SCF/Transforms/StructuralTypeConversions.cpp | ||
---|---|---|
167 | I don't think this needs an explanation TBH. Inlining is a "move" operation as opposed to clone which is a "copy", everything else is a corollary. If we keep it, I suggest to at least put it next to the actual inlining. | |
176 | Nit: "operator" is not a term MLIR uses, some ancient code might have inherited it from TF-oriented thinking, but let's not perpetuate this. |
nit pick: If somebody removes the forop comment later, this reference becomes "dangling" Why not say here why we inline?
EDIT: Ah, I see that this comment was already there in the original code; it is still my concern, but see if you feel like addressing it