[RISCV] Rename RISCVISD::SHFLI to RISCVISD::SHFL and don't require the second operand...
authorCraig Topper <craig.topper@sifive.com>
Tue, 13 Apr 2021 06:27:44 +0000 (23:27 -0700)
committerCraig Topper <craig.topper@sifive.com>
Tue, 13 Apr 2021 06:46:50 +0000 (23:46 -0700)
commit7c9bbbf7358cfa036c3d53eeb27be04bdfc7ba5b
treee71f43e5308cf03b0f7b605363b5a7cb26324d6b
parentb28ec3fd18ae40a17aeef410c82c0181168c11d4
[RISCV] Rename RISCVISD::SHFLI to RISCVISD::SHFL and don't require the second operand to be an immediate.

Prep work for adding intrinsics in the future.

Left an assert that the input is constant in ReplaceNodeResults,
as the intrinsic shouldn't go through that path.
llvm/lib/Target/RISCV/RISCVISelLowering.cpp
llvm/lib/Target/RISCV/RISCVISelLowering.h
llvm/lib/Target/RISCV/RISCVInstrInfoB.td