[all-commits] [llvm/llvm-project] 03e902: [X86] Remove `UnsafeFPMath` uses (#151667)

Stanislav Mekhanoshin via All-commits all-commits at lists.llvm.org
Mon Aug 4 17:26:01 PDT 2025


  Branch: refs/heads/users/rampitec/08-04-_amdgpu_gfx1250_v_wmma_scale_16__f32_16x16x128_f8f6f4_codegen
  Home:   https://github.com/llvm/llvm-project
  Commit: 03e902cc68115e9c5be1a624849e30c5e510c930
      https://github.com/llvm/llvm-project/commit/03e902cc68115e9c5be1a624849e30c5e510c930
  Author: paperchalice <liujunchang97 at outlook.com>
  Date:   2025-08-05 (Tue, 05 Aug 2025)

  Changed paths:
    M llvm/lib/Target/X86/X86ISelLowering.cpp
    M llvm/test/CodeGen/X86/avx512fp16-combine-shuffle-fma.ll
    M llvm/test/CodeGen/X86/fmaddsub-combine.ll
    M llvm/test/CodeGen/X86/fmsubadd-combine.ll

  Log Message:
  -----------
  [X86] Remove `UnsafeFPMath` uses (#151667)

Remove `UnsafeFPMath` in X86 part, it blocks some bugfixes related to
clang and the ultimate goal is to remove `resetTargetOptions` method in
`TargetMachine`, see FIXME in `resetTargetOptions`.
See also
https://discourse.llvm.org/t/rfc-honor-pragmas-with-ffp-contract-fast

https://discourse.llvm.org/t/allowfpopfusion-vs-sdnodeflags-hasallowcontract


  Commit: 3e236522853ec98297e5c956d0cc1292b5fe899b
      https://github.com/llvm/llvm-project/commit/3e236522853ec98297e5c956d0cc1292b5fe899b
  Author: Stanislav Mekhanoshin <Stanislav.Mekhanoshin at amd.com>
  Date:   2025-08-04 (Mon, 04 Aug 2025)

  Changed paths:
    M llvm/lib/Target/X86/X86ISelLowering.cpp
    M llvm/test/CodeGen/X86/avx512fp16-combine-shuffle-fma.ll
    M llvm/test/CodeGen/X86/fmaddsub-combine.ll
    M llvm/test/CodeGen/X86/fmsubadd-combine.ll

  Log Message:
  -----------
  Merge branch 'main' into users/rampitec/08-04-_amdgpu_gfx1250_v_wmma_scale_16__f32_16x16x128_f8f6f4_codegen


Compare: https://github.com/llvm/llvm-project/compare/571d0494b462...3e236522853e

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