[RISCV] Use the VT passed into selectImm instead of XLenVT. NFCI
authorCraig Topper <craig.topper@sifive.com>
Thu, 30 Jun 2022 18:05:18 +0000 (11:05 -0700)
committerCraig Topper <craig.topper@sifive.com>
Thu, 30 Jun 2022 18:15:28 +0000 (11:15 -0700)
commit89e7e59621bfd899beaac76f9066e731df5e6d20
treeb7fd40f1bafab90f7f118f3ef7bce366ad84e5aa
parent06683d5f74f7551f4f36161fa3657146b1091311
[RISCV] Use the VT passed into selectImm instead of XLenVT. NFCI

I think the VT pased in will always be XLen.
llvm/lib/Target/RISCV/RISCVISelDAGToDAG.cpp