mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-12-21 23:10:54 +00:00
[ARM] Don't use TARGET_HEADER_BUILTIN in arm_mve_builtins.inc or arm_cde_builtins.inc
The attributes string doesn't include 'f' or 'h'. I don't think any code looks at the header name without those. Reviewed By: simon_tatham Differential Revision: https://reviews.llvm.org/D111755
This commit is contained in:
parent
60802715d1
commit
c294715e2e
@ -1941,8 +1941,8 @@ void MveEmitter::EmitHeader(raw_ostream &OS) {
|
||||
void MveEmitter::EmitBuiltinDef(raw_ostream &OS) {
|
||||
for (const auto &kv : ACLEIntrinsics) {
|
||||
const ACLEIntrinsic &Int = *kv.second;
|
||||
OS << "TARGET_HEADER_BUILTIN(__builtin_arm_mve_" << Int.fullName()
|
||||
<< ", \"\", \"n\", \"arm_mve.h\", ALL_LANGUAGES, \"\")\n";
|
||||
OS << "BUILTIN(__builtin_arm_mve_" << Int.fullName()
|
||||
<< ", \"\", \"n\")\n";
|
||||
}
|
||||
|
||||
std::set<std::string> ShortNamesSeen;
|
||||
@ -2151,8 +2151,8 @@ void CdeEmitter::EmitBuiltinDef(raw_ostream &OS) {
|
||||
if (kv.second->headerOnly())
|
||||
continue;
|
||||
const ACLEIntrinsic &Int = *kv.second;
|
||||
OS << "TARGET_HEADER_BUILTIN(__builtin_arm_cde_" << Int.fullName()
|
||||
<< ", \"\", \"ncU\", \"arm_cde.h\", ALL_LANGUAGES, \"\")\n";
|
||||
OS << "BUILTIN(__builtin_arm_cde_" << Int.fullName()
|
||||
<< ", \"\", \"ncU\")\n";
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user