[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:49 PDT 2025


================
@@ -431,16 +428,38 @@ class MCDataFragment : public MCEncodedFragment {
 ///
 class MCRelaxableFragment : public MCEncodedFragment {
   /// The instruction this is a fragment for.
-  MCInst Inst;
----------------
aengelke wrote:

Is it ok to always drop Flags? We might end up with a different encoding for the relaxed instruction.

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


More information about the llvm-commits mailing list