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

via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 31 01:36:13 PDT 2025


================
@@ -13,7 +13,7 @@
 ; RUN: llc -mtriple=arm-eabi -mcpu=cortex-a8 -regalloc=basic %s -o - \
 ; RUN:  | FileCheck %s -check-prefix=A8
 
-; RUN: llc -mtriple=arm-eabi -mcpu=cortex-a8 --enable-unsafe-fp-math %s -o - \
+; RUN: llc -mtriple=arm-eabi -mcpu=cortex-a8 --enable-unsafe-fp-math  %s -o - \
----------------
paperchalice wrote:

"denormal-fp-math=preserve-sign" is conflict with fsub dag combiner, we should have instruction level denormal flags, like fast math flags, see #30633.

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


More information about the llvm-commits mailing list