[all-commits] [llvm/llvm-project] 053331: Revert "[flang] Respect math flags during conversi...

jon-gibney via All-commits all-commits at lists.llvm.org
Thu Sep 24 06:44:10 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 053331c2c9f47fb0795c19f33c128ab82205b4cd
      https://github.com/llvm/llvm-project/commit/053331c2c9f47fb0795c19f33c128ab82205b4cd
  Author: jon-gibney <jonathon.gibney at hpe.com>
  Date:   2026-09-24 (Thu, 24 Sep 2026)

  Changed paths:
    M flang/include/flang/Optimizer/CodeGen/CGPasses.td
    M flang/include/flang/Optimizer/CodeGen/CodeGen.h
    M flang/lib/Optimizer/CodeGen/CodeGen.cpp
    M flang/lib/Optimizer/Passes/Pipelines.cpp
    R flang/test/Fir/convert-to-llvm-unsafe-fp-conversion.fir

  Log Message:
  -----------
  Revert "[flang] Respect math flags during conversions (#214311)" (#225887)

This reverts commit 688119653fd40fa46244e1c300e728677a4f001a.

This caused a regression in Fujitsu test 0291/0291_0008.f with
`-ffast-math -march=native -03`. That test does a conversion that always
overflows, so without saturating math it produces poison, which causes
it to treat the rest of the routine as unreachable, resulting in a crash
on x86. I'll have to try another approach.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list