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).
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
- Consider BigEndianSafe intrinsics that all inputs and outputs are scalar or single element vectors
Comment Actions
Breaks the header. Needs to avoid generating calls to functions with predicated __noswap when it is BigEndianSafe.
Comment Actions
Fix / Update / Rebase
- Avoid appending __noswap_ to intrinsics that are BigEndianSafe
- Moved to monorepo
Comment Actions
LGTM with one small nit.
clang/utils/TableGen/NeonEmitter.cpp | ||
---|---|---|
1906 ↗ | (On Diff #217594) | s/small endians/little endian/ |