Add additional isel patterns for ctzw/clzw instructions.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D91040
[RISCV] Make ctlz/cttz cheap to speculatively execute so CodeGenPrepare won't insert a zero check. ClosedPublic Authored by craig.topper on Nov 8 2020, 1:55 PM.
Details Summary Add additional isel patterns for ctzw/clzw instructions.
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Nov 9 2020, 1:57 AM This revision was landed with ongoing or failed builds.Nov 9 2020, 10:14 AM Closed by commit rG5d3fd3df94e5: [RISCV] Make ctlz/cttz cheap to speculatively execute so CodeGenPrepare won't… (authored by craig.topper). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 303921 llvm/lib/Target/RISCV/RISCVISelLowering.h
llvm/lib/Target/RISCV/RISCVISelLowering.cpp
llvm/lib/Target/RISCV/RISCVInstrInfoB.td
llvm/test/CodeGen/RISCV/rv32Zbb.ll
llvm/test/CodeGen/RISCV/rv64Zbb.ll
|