When feature CSSC is available we should use instruction CNT for s32, s64 and
s128 types in GlobalIsel's G_CTPOP.
spec:
https://developer.arm.com/documentation/ddi0602/2022-09/Base-Instructions/CNT--Count-bits-
Paths
| Differential D139417
[AArch64] add GlobalIsel support for scalar CNT instruction ClosedPublic Authored by stuij on Dec 6 2022, 5:31 AM.
Details Summary When feature CSSC is available we should use instruction CNT for s32, s64 and spec:
Diff Detail
Event Timeline
This revision is now accepted and ready to land.Jan 5 2023, 12:35 AM This revision was landed with ongoing or failed builds.Jan 6 2023, 3:08 AM Closed by commit rG0b066e02a679: [AArch64] add GlobalIsel support for scalar CNT instruction (authored by stuij). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 486792 llvm/lib/Target/AArch64/GISel/AArch64LegalizerInfo.cpp
llvm/test/CodeGen/AArch64/GlobalISel/legalize-ctpop-no-implicit-float.mir
llvm/test/CodeGen/AArch64/GlobalISel/legalize-ctpop.mir
|
Does this comment need updating with this change?