Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
| mlir/include/mlir/IR/BuiltinTypes.h | ||
|---|---|---|
| 342 | Is this right? Seems like the newShape SmallVector lifetime ends with this function, but the Builder keeps a reference to it. | |
| mlir/include/mlir/IR/BuiltinTypes.h | ||
|---|---|---|
| 342 | Oh is it that this method returns a Type which forces to invoke the VectorType operator below? | |
| mlir/include/mlir/IR/BuiltinTypes.h | ||
|---|---|---|
| 342 | Yeah, this doesn't look ideal. Can we just create a copy of this builder and set the shape? | |
ughh, sorry you're right I mess up the builder for nothing .. will send a followup shortly
Is this right? Seems like the newShape SmallVector lifetime ends with this function, but the Builder keeps a reference to it.