[llvm] [RISCV][FPEnv] Lowering of fpenv intrinsics (PR #141498)

Serge Pavlov via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 6 22:03:54 PDT 2025


================
@@ -2028,6 +2028,11 @@ let hasSideEffects = true in {
 def ReadFFLAGS : ReadSysReg<SysRegFFLAGS, [FFLAGS]>;
 def WriteFFLAGS : WriteSysReg<SysRegFFLAGS, [FFLAGS]>;
 }
+
+def ReadFCSR : ReadSysReg<SysRegFCSR, [FRM, FFLAGS]>;
----------------
spavloff wrote:

This patch suffered from the same problem as described in https://github.com/llvm/llvm-project/issues/135172. It has been fixed similar to https://github.com/llvm/llvm-project/pull/135176. The added test checks proper dependencies.

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


More information about the llvm-commits mailing list