]> granicus.if.org Git - clang/commit
[ARM NEON] Avoid duplicated decarations
authorDiogo N. Sampaio <diogo.sampaio@arm.com>
Tue, 3 Sep 2019 09:16:44 +0000 (09:16 +0000)
committerDiogo N. Sampaio <diogo.sampaio@arm.com>
Tue, 3 Sep 2019 09:16:44 +0000 (09:16 +0000)
commit406ef06ebca1d7267dab2e105867501caf2da2eb
tree1e056d3cf722e64a1619d80de1635978288f0555
parentd5d301798dba84b983b0a834cbfa559f868775fc
[ARM NEON] Avoid duplicated decarations

Summary:
The declaration of arm neon intrinsics that are
"big endian safe" print the same code for big
and small endian targets.
This patch avoids duplicates by checking if an
intrinsic is safe to have a single definition.
(decreases header 11k lines out of 73k).

Reviewers: t.p.northover, ostannard, labrinea

Reviewed By: ostannard

Subscribers: kristof.beyls, cfe-commits, olista01

Tags: #clang

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

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@370716 91177308-0d34-0410-b5e6-96231b3b80d8
utils/TableGen/NeonEmitter.cpp