[PATCH] D142037: [RISCV] Make it explicit that attributes use the MCSubtargetInfo from TargetMachine.

Jessica Clarke via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 18 10:57:00 PST 2023


jrtc27 added a comment.

It's called from emitStartOfAsmFile, so yes, it's going to be called before any of the functions are emitted and this really should be NFC. https://reviews.llvm.org/D73339 is responsible for (what is now) MCSTI and was done for RVC[1] but we don't need that any more.

[1] And that fix was more of a hack, because we do need the module-level features in order to emit the right attributes


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D142037/new/

https://reviews.llvm.org/D142037



More information about the llvm-commits mailing list