[PATCH] Remove copies of MCSubtargetInfo from MCRelaxableFragment

Rafael EspĂ­ndola rafael.espindola at gmail.com
Fri Jul 10 11:54:35 PDT 2015


> So I guess it's probably worth untangling this further.  I could convert
> everything `encodeInstruction()` calls transitively to take a
> `FeatureBitset` instead of a `const MCSubtargetInfo &`.  Make sense?

BTW, it wouldn't surprise me if you could just pass the fragment
itself and store just a few booleans in it (IsMicroMips, IsThumb,
etc).

Cheers,
Rafael



More information about the llvm-commits mailing list