[PATCH] D44928: [MC] Pass MCSubtargetInfo to fixupNeedsRelaxation and applyFixup

Peter Smith via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 23 07:35:19 PDT 2018


peter.smith added a comment.

I've added reviews for the support of writeNops(). My apologies for the size of the changes, the first three make sure the STI is recorded in the fragment so that we can retrieve it when calling writeNops. The final one passes STI through to writeNops and removes STI from the X86 and ARM AsmBackends.
1 [MC] Move bundling and MCSubtargetInfo to MCEncodedFragment [NFC] https://reviews.llvm.org/D45959
2 [MC] Add MCSubtargetInfo to MCPaddingFragment [NFC] https://reviews.llvm.org/D45960
3 [MC] Add MCSubtargetInfo to MCAlignFragment [NFC] https://reviews.llvm.org/D45961
4 [MC] Use local MCSubtargetInfo in writeNops https://reviews.llvm.org/D45962


https://reviews.llvm.org/D44928





More information about the llvm-commits mailing list