[PATCH] D127147: [DirectX] Add MC Register and Frame stubs

Chris Bieneman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 7 07:34:27 PDT 2022


beanz added inline comments.


================
Comment at: llvm/lib/Target/DirectX/DirectXFrameLowering.h:29-34
+  void emitPrologue(MachineFunction &MF,
+                    MachineBasicBlock &MBB) const override {}
+  void emitEpilogue(MachineFunction &MF,
+                    MachineBasicBlock &MBB) const override {}
+
+  bool hasFP(const MachineFunction &MF) const override { return false; }
----------------
kuhar wrote:
> I'm afraid these can lead to unused function argument warnings. Can we remove argument names to silence such warnings?
I'm happy to make this change (I prefer it myself), but I do want to point out that LLVM is nowhere near clean for `-Wunused-parameter`, and it isn't a warning we generally support.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D127147



More information about the llvm-commits mailing list