[PATCH] D32780: [AArch64] Make the TargetParser add CPU exts provided by the arch.
Ahmed Bougacha via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue May 2 18:01:12 PDT 2017
ab created this revision.
Herald added a subscriber: aemerson.
Otherwise, each CPU has to manually specify the extensions it supports,
even though they have to be a superset of the base arch extensions.
And when there's redundant data there's stale data, so most of the CPUs
lie about the features they support (most don't list AEK_FP).
Instead, do the saner thing: add the optional extensions on top of the
base extensions provided by the architecture.
The ARM TargetParser has the same behavior.
https://reviews.llvm.org/D32780
Files:
include/llvm/Support/AArch64TargetParser.def
lib/Support/TargetParser.cpp
unittests/Support/TargetParserTest.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D32780.97533.patch
Type: text/x-patch
Size: 8030 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170503/a44562b1/attachment.bin>
More information about the llvm-commits
mailing list