[llvm] [ARM] Remove `UnsafeFPMath` uses (PR #151275)

via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 25 20:00:42 PDT 2025


================
@@ -222,8 +222,7 @@ void ARMSubtarget::initSubtargetFeatures(StringRef CPU, StringRef FS) {
   // NEON f32 ops are non-IEEE 754 compliant. Darwin is ok with it by default.
   const FeatureBitset &Bits = getFeatureBits();
   if ((Bits[ARM::ProcA5] || Bits[ARM::ProcA8]) && // Where this matters
-      (Options.UnsafeFPMath || isTargetDarwin() ||
----------------
paperchalice wrote:

#160801

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


More information about the llvm-commits mailing list