[Mlir-commits] [mlir] Avoid copies in getChecked (PR #147721)
Mehdi Amini
llvmlistbot at llvm.org
Wed Jul 9 06:25:43 PDT 2025
joker-eph wrote:
Hi,
Thanks for the contribution! I would think there would be a tablegen test to update? Otherwise we probably miss coverage.
As I remember it: I couldn't add move to the getChecked() sequence because in assert build we do getChecked() as part of the get(), and that would lead to a use-after-move issue.
But maybe you're only touching one level further in the call-stack?
https://github.com/llvm/llvm-project/pull/147721
More information about the Mlir-commits
mailing list