[all-commits] [llvm/llvm-project] 2aeefc: [clang][CodeGen] Remove "unsafe-fp-math" attribute...

paperchalice via All-commits all-commits at lists.llvm.org
Fri Oct 10 00:56:50 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2aeefcf40f513b56ccb74abe851415a81a02d1b8
      https://github.com/llvm/llvm-project/commit/2aeefcf40f513b56ccb74abe851415a81a02d1b8
  Author: paperchalice <liujunchang97 at outlook.com>
  Date:   2025-10-10 (Fri, 10 Oct 2025)

  Changed paths:
    M clang/lib/CodeGen/CGCall.cpp
    M clang/lib/CodeGen/CGCall.h
    M clang/lib/CodeGen/CodeGenFunction.cpp
    M clang/test/CodeGen/backend-unsupported-error.ll
    M clang/test/CodeGen/fp-function-attrs.cpp
    M clang/test/CodeGen/func-attr.c
    M clang/test/CodeGenCUDA/propagate-attributes.cu
    M clang/test/CodeGenOpenCL/relaxed-fpmath.cl

  Log Message:
  -----------
  [clang][CodeGen] Remove "unsafe-fp-math" attribute support (#162779)

These global flags block furthur improvements for clang, users should
always use fast-math flags
see also
https://discourse.llvm.org/t/rfc-honor-pragmas-with-ffp-contract-fast/80797
Remove them incrementally, this is the clang part.



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