[all-commits] [llvm/llvm-project] 205d46: [IR][CodeGen] Remove "approx-func-fp-math" attribu...

paperchalice via All-commits all-commits at lists.llvm.org
Thu Aug 28 18:52:28 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 205d461a19f88be9b2044d7c863c747907181981
      https://github.com/llvm/llvm-project/commit/205d461a19f88be9b2044d7c863c747907181981
  Author: paperchalice <liujunchang97 at outlook.com>
  Date:   2025-08-29 (Fri, 29 Aug 2025)

  Changed paths:
    M clang/lib/CodeGen/BackendUtil.cpp
    M clang/lib/CodeGen/CGCall.cpp
    M clang/test/CodeGen/afn-flag-test.c
    M clang/test/CodeGen/func-attr.c
    M flang/include/flang/Optimizer/Transforms/Passes.td
    M flang/include/flang/Tools/CrossToolHelpers.h
    M flang/lib/Optimizer/Transforms/FunctionAttr.cpp
    M flang/test/Driver/func-attr-fast-math.f90
    M llvm/include/llvm/CodeGen/CommandFlags.h
    M llvm/include/llvm/IR/Attributes.td
    M llvm/include/llvm/Target/TargetOptions.h
    M llvm/lib/CodeGen/CommandFlags.cpp
    M llvm/lib/Target/TargetMachine.cpp
    M mlir/include/mlir/Dialect/LLVMIR/LLVMOps.td
    M mlir/lib/Target/LLVMIR/ModuleImport.cpp
    M mlir/lib/Target/LLVMIR/ModuleTranslation.cpp
    M mlir/test/Dialect/LLVMIR/func.mlir
    M mlir/test/Target/LLVMIR/Import/function-attributes.ll
    M mlir/test/Target/LLVMIR/fp-math-function-attributes.mlir

  Log Message:
  -----------
  [IR][CodeGen] Remove "approx-func-fp-math" attribute (#155740)

Remove "approx-func-fp-math" attribute and related command line option,
users should always use afn flag in IR.
Resolve FIXME in `TargetMachine::resetTargetOptions` partially.



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