[RISCV] Make selectImm return SDValue instead of SDNode*.
authorCraig Topper <craig.topper@sifive.com>
Sat, 4 Feb 2023 21:14:51 +0000 (13:14 -0800)
committerCraig Topper <craig.topper@sifive.com>
Sun, 5 Feb 2023 00:26:18 +0000 (16:26 -0800)
commitfe6dd5d3115987622907f7541314a2fe163eb57b
treeede4997269b7230663840513b9c3ad562a4ab2ba
parent65ece07e0222b090c35686a91af5b161acc0f8e3
[RISCV] Make selectImm return SDValue instead of SDNode*.

This avoids multiple places needing to convert it to SDValue. It's
simpler to convert it to SDNode * in the places that need it.
llvm/lib/Target/RISCV/RISCVISelDAGToDAG.cpp