Both identity ops can be loweried by replacing their results with their
inputs. We keep this as a linalg lowering as other backends may choose to
create copies.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
Can you add a comment regarding which scenarios identity is load bearing and for which backends?
I was really hoping we could avoid the whole TF mess of "identity is load bearing".
mlir/test/Conversion/TosaToLinalg/tosa-to-linalg.mlir | ||
---|---|---|
259 | can you check that the values were actually replaced properly? (probably a separate function is a good place to put them so you can check args/returns). |
can you check that the values were actually replaced properly? (probably a separate function is a good place to put them so you can check args/returns).