HomePhabricator

[RISCV] Use selectImm for RV32. NFC

Authored by craig.topper on Mar 23 2021, 8:32 AM.

Description

[RISCV] Use selectImm for RV32. NFC

Previously we used selectImm for RV64 and isel patterns for
RV32. This should be NFC, but will allow RV32 and RV64 to share
improvements in the future. For example, it might be useful to
use BSETI from Zbs to make single bit constants.

Reviewed By: luismarques

Differential Revision: https://reviews.llvm.org/D98877

Details

Committed
craig.topperMar 23 2021, 8:57 AM
Reviewer
luismarques
Differential Revision
D98877: [RISCV] Use selectImm for RV32. NFC
Parents
rGfc7e3e7dd908: [AMDGPU] Set SchedRW on real instructions
Branches
Unknown
Tags
Unknown