Re:Memory Copy Hunting
by JonChesterfield on Wednesday July 26, 2023 @05:48PM
(#36885578)
There's been a longstanding wish to do things like inject a std::vector::reserve ahead of a loop that appends to a vector. Difficult to do once you've lowered the standard library to pointer arithmetic on structs. Clang emitting a MLIR dialect that preserves a lot of C++ semantic information before translation to IR would be a big deal in the LLVM pipeline.
[ Parent
| on HN ]
There are no comments on this comment yet.