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

via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 26 04:50:50 PDT 2025


================
@@ -695,7 +704,9 @@ void ARMAsmPrinter::emitAttributes() {
                                              DenormalMode::getPositiveZero()))
     ATS.emitAttribute(ARMBuildAttrs::ABI_FP_denormal,
                       ARMBuildAttrs::PositiveZero);
-  else if (!TM.Options.UnsafeFPMath)
+  else if (checkDenormalAttributeInconsistency(*MMI->getModule()) ||
----------------
paperchalice wrote:

Can frontend emit some hints for this when targeting ARM?

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


More information about the llvm-commits mailing list