This is an archive of the discontinued LLVM Phabricator instance.

[RISCV] Add support for CLTZ for RVP
Needs ReviewPublic

Authored by Jim on Jun 4 2021, 5:55 AM.
This revision needs review, but there are no reviewers specified.

Details

Reviewers
None
Summary

Add codegen patterns for CLTZ matched to clo and clz instructions.

Diff Detail

Event Timeline

Jim created this revision.Jun 4 2021, 5:55 AM
Jim requested review of this revision.Jun 4 2021, 5:55 AM
Herald added a project: Restricted Project. · View Herald TranscriptJun 4 2021, 5:55 AM
craig.topper added inline comments.
llvm/test/CodeGen/RISCV/rvp/clo.ll
210

Why didn't this use clo32?