Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[mlir][AsmParser] Avoid use of moved value (#108789)
'std::string detailData' is moved in the innermost loop of a 2-layer loop, but is written to throughout the whole duration of the 2-layer loop. After move, std::string is in an unspecified state (implementation-dependent). Avoid using a moved value, as it incurs undefined behavior.
- Loading branch information