[PATCH] D143001: [AArch64] Mark function calls as possibly changing FPCR

Eli Friedman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 31 11:33:56 PST 2023


efriedma accepted this revision.
efriedma added a comment.
This revision is now accepted and ready to land.

LGTM



================
Comment at: llvm/lib/Target/AArch64/AArch64ISelLowering.h:673
   const MCPhysReg *getScratchRegisters(CallingConv::ID CC) const override;
+  const MCPhysReg *getRoundingControlRegisters() const override;
 
----------------
Not exactly part of this patch, but can you make getRoundingControlRegisters return an `ArrayRef<MCPhysReg>` instead of the weird thing you're doing with a raw pointer?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D143001



More information about the llvm-commits mailing list