[all-commits] [llvm/llvm-project] dc298f: [builtins] Build with -Wbuiltin-declaration-mismat...

Alexander Richardson via All-commits all-commits at lists.llvm.org
Mon Nov 13 11:07:15 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: dc298fecb79608e6628bd730ece42a6a77197a3c
      https://github.com/llvm/llvm-project/commit/dc298fecb79608e6628bd730ece42a6a77197a3c
  Author: Alex Richardson <alexrichardson at google.com>
  Date:   2023-11-13 (Mon, 13 Nov 2023)

  Changed paths:
    M compiler-rt/cmake/builtin-config-ix.cmake
    M compiler-rt/lib/builtins/CMakeLists.txt
    M compiler-rt/test/builtins/lit.cfg.py

  Log Message:
  -----------
  [builtins] Build with -Wbuiltin-declaration-mismatch if supported

GCC is able to check that the signatures of the builtins are as expected
and this shows some incorrect signatures on ld80 platforms (i.e. x86).
The *tf* functions should take 128-bit arguments but until the latest fixes
they used 80-bit long double.

Differential Revision: https://reviews.llvm.org/D153814




More information about the All-commits mailing list