[PATCH] D45960: [MC] Add MCSubtargetInfo to MCPaddingFragment [NFC]
Peter Smith via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Nov 12 07:26:59 PST 2018
peter.smith added a comment.
Yes, my apologies for not following up.
This is an enabling patch for allowing writeNops() to use a passed in Subtarget. There are 3 parts:
- Add STI to MCPaddingFragment (This review)
- Add STI to MCAlignFragment https://reviews.llvm.org/D45961
- Actually use the STI in the fragments to pass to writeNops() https://reviews.llvm.org/D45962
This and https://reviews.llvm.org/D45961 have no users without https://reviews.llvm.org/D45962 . I'm happy to rebase and work on https://reviews.llvm.org/D45961, https://reviews.llvm.org/D45962 but it would probably be worth committing all or none of them.
https://reviews.llvm.org/D45960
More information about the llvm-commits
mailing list