[llvm] [ARM] Mark function calls as possibly changing FPSCR (PR #160699)

Simon Tatham via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 29 03:13:37 PDT 2025


================
@@ -22003,6 +22003,11 @@ bool ARMTargetLowering::isComplexDeinterleavingOperationSupported(
           ScalarTy->isIntegerTy(32));
 }
 
+ArrayRef<MCPhysReg> ARMTargetLowering::getRoundingControlRegisters() const {
+  static const MCPhysReg RCRegs[] = {ARM::FPSCR};
----------------
statham-arm wrote:

I don't quite understand why this is specified as the full FPSCR, when your other PR #160698 introduced FPSCR_RM which is specifically the rounding mode control bits?

https://github.com/llvm/llvm-project/pull/160699


More information about the llvm-commits mailing list