Add codegen patterns for CLTZ matched to clo and clz instructions.
Details
Details
- Reviewers
- None
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D103698
[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
Summary Add codegen patterns for CLTZ matched to clo and clz instructions.
Diff Detail
Event TimelineHerald added subscribers: vkmr, frasercrmck, evandro and 24 others. · View Herald TranscriptJun 4 2021, 5:55 AM
Revision Contents
Diff 349845 llvm/lib/Target/RISCV/RISCVISelLowering.cpp
llvm/lib/Target/RISCV/RISCVInstrInfoP.td
llvm/test/CodeGen/RISCV/rvp/clo.ll
llvm/test/CodeGen/RISCV/rvp/clz.ll
|
Why didn't this use clo32?