[all-commits] [llvm/llvm-project] 0237f1: clang: Add pragma clang fp reciprocal (#68267)

Matt Arsenault via All-commits all-commits at lists.llvm.org
Tue Nov 28 06:39:05 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0237f1b998fab69ce365f0ebc79f0ecfa4294744
      https://github.com/llvm/llvm-project/commit/0237f1b998fab69ce365f0ebc79f0ecfa4294744
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2023-11-28 (Tue, 28 Nov 2023)

  Changed paths:
    M clang/docs/LanguageExtensions.rst
    M clang/docs/ReleaseNotes.rst
    M clang/include/clang/Basic/DiagnosticParseKinds.td
    M clang/include/clang/Basic/DiagnosticSemaKinds.td
    M clang/include/clang/Basic/PragmaKinds.h
    M clang/include/clang/Sema/Sema.h
    M clang/lib/Parse/ParsePragma.cpp
    M clang/lib/Sema/SemaAttr.cpp
    A clang/test/CodeGen/fp-reciprocal-pragma.cpp
    M clang/test/Parser/pragma-fp-contract.c
    M clang/test/Parser/pragma-fp.cpp
    M clang/test/Sema/eval-method-with-unsafe-math.c

  Log Message:
  -----------
  clang: Add pragma clang fp reciprocal (#68267)

Just follow along with the reassociate pragma. This allows locally
setting the arcp fast math flag. Previously you could only access this
through the global -freciprocal-math.

Fixes #64798




More information about the All-commits mailing list