[PATCH] D44928: [MC] Pass MCSubtargetInfo through to fixupNeedsRelaxation

Peter Smith via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 3 03:39:50 PDT 2018


peter.smith added a comment.

Thanks for the comments and apologies for the delayed response (Easter break).  The patch here is somewhat fortunate in that the MCRelaxableFragment already has a reference to the MCSubtargetInfo. The other instances ARMAsmBackend::writeNopData and ARMAsmBackend::applyFixup may be called on other Fragments that don't have the MCSubtargetInfo member such as MCAlignFragment and MCDataFragment. I'll do some investigation to see what the best options are.


https://reviews.llvm.org/D44928





More information about the llvm-commits mailing list