[RISCV] Add RISCVISD opcodes for the rest of get*Addr.
authorCraig Topper <craig.topper@sifive.com>
Wed, 22 Jun 2022 16:00:15 +0000 (09:00 -0700)
committerCraig Topper <craig.topper@sifive.com>
Wed, 22 Jun 2022 16:21:07 +0000 (09:21 -0700)
commitf912d21e673b0c4e851eeb4027027f748f4cf27c
treef19d0d9caff87559b891da88348be49979ab1ab9
parent88c279b1d93feb559d7f31352ad5044d8397b30c
[RISCV] Add RISCVISD opcodes for the rest of get*Addr.

This adds RISCVISD opccodes for LA, LA_TLS_IE, and LA_TLS_GD to
remove creation of MachineSDNodes form get*Addr. This makes the
code consistent with the previous patches that added RISCVISD::HI,
ADD_LO, LLA, and TPREL_ADD.

Reviewed By: asb

Differential Revision: https://reviews.llvm.org/D128325
llvm/lib/Target/RISCV/RISCVISelLowering.cpp
llvm/lib/Target/RISCV/RISCVISelLowering.h
llvm/lib/Target/RISCV/RISCVInstrInfo.td