Reduce the number of attributes attached to each function
authorserge-sans-paille <sguelton@redhat.com>
Wed, 10 Feb 2021 08:42:50 +0000 (09:42 +0100)
committerserge-sans-paille <sguelton@redhat.com>
Tue, 16 Feb 2021 15:19:54 +0000 (16:19 +0100)
commit3c8bf29f14e45cdf4c5dc5edcb3bb2f02cc9f394
treebc078ce2a5b128fdd40f33e74bc9d1838f39b0b3
parent397336dcab81dd0bb95e50e95c737c3e77ee7985
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
clang/lib/CodeGen/CGCall.cpp
clang/test/CodeGen/attr-target-x87-softfp.c
clang/test/CodeGenOpenCL/no-signed-zeros.cl
clang/test/CodeGenOpenCL/relaxed-fpmath.cl