[RISCV] Replace multiple ifs with a switch. NFC
authorCraig Topper <craig.topper@sifive.com>
Mon, 30 Jan 2023 17:53:48 +0000 (09:53 -0800)
committerCraig Topper <craig.topper@sifive.com>
Mon, 30 Jan 2023 17:53:48 +0000 (09:53 -0800)
commit025c92077d39c3da9db68d13cc1763a7ed22a522
treeacc93bbb342dbb57f9ecfae1f8968544e8b36b8d
parent09a3aef0f8f4ef7789713b6edb185f4541858aac
[RISCV] Replace multiple ifs with a switch. NFC

D108961 will add more instructions to this.
llvm/lib/Target/RISCV/MCTargetDesc/RISCVMCCodeEmitter.cpp