[llvm] CodeGen: Pass MCSubtargetInfo to TargetGenInstrInfo constructors (PR #157337)
Sergei Barannikov via llvm-commits
llvm-commits at lists.llvm.org
Sun Sep 7 05:16:11 PDT 2025
s-barannikov wrote:
Looks good as such, but can you provide more information? What kind of decisions and what new arguments?
Should the title mention TargetSubtargetInfo instead of MCSubtargetInfo?
Should it be propagated down to the base `TargetInstrInfo`? There are a lot of TII methods that need STI, but currently have to obtain it via MF / MI / MBB.
https://github.com/llvm/llvm-project/pull/157337
More information about the llvm-commits
mailing list