This is an archive of the discontinued LLVM Phabricator instance.

[RISCV] Expand scalable vector CTTZ/CTLZ/CTPOP.
ClosedPublic

Authored by craig.topper on Oct 21 2021, 9:45 AM.

Diff Detail

Event Timeline

craig.topper created this revision.Oct 21 2021, 9:45 AM
craig.topper requested review of this revision.Oct 21 2021, 9:45 AM
Herald added a project: Restricted Project. · View Herald TranscriptOct 21 2021, 9:45 AM
Herald added a subscriber: MaskRay. · View Herald Transcript

Oh, nabbing revision 112233 is nice!

Thanks, I'd played around with locally this after D112141. Do we not have to worry about NO_UNDEF too?

Add zero_undef tests.

frasercrmck accepted this revision.Oct 21 2021, 10:16 AM

LGTM. Thanks, I didn't realise ZERO_UNDEF would be expanded automatically since the others aren't. I also didn't realise it's not NO_UNDEF but rather ZERO_UNDEF - thanks for understanding what I was asking.

This revision is now accepted and ready to land.Oct 21 2021, 10:16 AM
This revision was automatically updated to reflect the committed changes.
llvm/test/CodeGen/RISCV/rvv/ctpop-sdnode.ll