[llvm] MC: Store MCRelaxableFragment MCInst out-of-line (PR #147229)

Alexis Engelke via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 7 02:34:48 PDT 2025


https://github.com/aengelke commented:

Tentative LGTM. MCFragment is now always trivially destructible, which is good. MCInst re-constructions seems a bit hacky, but ok. Flags might be a problem. This introduces 1--2 additional operand copies for relaxed instructions, but most instructions go into data fragments, so the impact is negligible.

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


More information about the llvm-commits mailing list