[Mlir-commits] [mlir] [MLIR] Forward generated OpTy::create arguments (PR #170012)

Jason Rice llvmlistbot at llvm.org
Sat Nov 29 17:20:01 PST 2025


ricejasonf wrote:

The `static_cast<decltype(name)>(name)` will cast the variable to its type preserving rvalueness. Variable name expressions are treated as lvalues by default so they are not prone to double moves.

https://github.com/llvm/llvm-project/pull/170012


More information about the Mlir-commits mailing list