Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
mlir/lib/Dialect/StandardOps/IR/Ops.cpp | ||
---|---|---|
3504 | Can you add local variables for the ShapedType of source() and getResult()? Would simplify here and above. |
mlir/lib/Dialect/StandardOps/IR/Ops.cpp | ||
---|---|---|
3500 | Are all of these cases just handling the situation where the input and output type are the same? |
mlir/lib/Dialect/StandardOps/IR/Ops.cpp | ||
---|---|---|
3500 | This can be type equality in the static case. |
mlir/lib/Dialect/StandardOps/IR/Ops.cpp | ||
---|---|---|
3500 | Can you just write it using type comparison then? Type comparison is O(1), whereas shape comparison is O(N). Both of these if statements are handling static shapes. |
mlir/lib/Dialect/StandardOps/IR/Ops.cpp | ||
---|---|---|
3500 | Done! but hasStaticShape() itself is O(N) |
Are all of these cases just handling the situation where the input and output type are the same?