Adds intrinsics for the following:
- cntb
- cnth
- cntw
- cntd
- cntp
Paths
| Differential D70967
[AArch64][SVE] Implement element count intrinsics ClosedPublic Authored by c-rhodes on Dec 3 2019, 9:12 AM.
Details
Diff Detail
Event Timeline
c-rhodes added a child revision: D71014: [AArc64][SVE] Fold constant multiply of element count.Dec 4 2019, 6:39 AM This revision is now accepted and ready to land.Dec 4 2019, 4:49 PM Closed by commit rGf0355bc4d151: [AArch64][SVE] Implement element count intrinsics (authored by c-rhodes). · Explain WhyDec 5 2019, 2:30 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 232289 llvm/include/llvm/IR/IntrinsicsAArch64.td
llvm/lib/Target/AArch64/AArch64SVEInstrInfo.td
llvm/lib/Target/AArch64/SVEInstrFormats.td
llvm/test/CodeGen/AArch64/sve-intrinsics-counting-elems.ll
|
What is LLVMScalarOrSameVectorWidth<0, llvm_i1_ty> supposed to do here? Why not just LLVMMatchType?