[all-commits] [llvm/llvm-project] 3c8bf2: Reduce the number of attributes attached to each f...

serge-sans-paille via All-commits all-commits at lists.llvm.org
Tue Feb 16 07:20:29 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3c8bf29f14e45cdf4c5dc5edcb3bb2f02cc9f394
      https://github.com/llvm/llvm-project/commit/3c8bf29f14e45cdf4c5dc5edcb3bb2f02cc9f394
  Author: serge-sans-paille <sguelton at redhat.com>
  Date:   2021-02-16 (Tue, 16 Feb 2021)

  Changed paths:
    M clang/lib/CodeGen/CGCall.cpp
    M clang/test/CodeGen/attr-target-x87-softfp.c
    M clang/test/CodeGenOpenCL/no-signed-zeros.cl
    M clang/test/CodeGenOpenCL/relaxed-fpmath.cl

  Log Message:
  -----------
  Reduce the number of attributes attached to each function

This takes advantage of the implicit default behavior to reduce the number of
attributes, which in turns reduces compilation time. I've observed -3% in
instruction count when compiling sqlite3 amalgamation with -O0

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




More information about the All-commits mailing list