[RISCV] Use a switch statement in PreprocessISelDAG. NFC
authorCraig Topper <craig.topper@sifive.com>
Tue, 5 Jul 2022 18:58:03 +0000 (11:58 -0700)
committerCraig Topper <craig.topper@sifive.com>
Tue, 5 Jul 2022 19:25:04 +0000 (12:25 -0700)
commita1cd3f49b68022337c356482c8c4ec36221f4d1b
tree1a7d1c8f16c526f725880920fd0c7d8f49e68446
parentc15bcad2f9c3b8e17007ca4f394fb70a4a037b45
[RISCV] Use a switch statement in PreprocessISelDAG. NFC

This should make it easier to add more peepholes in the future.
llvm/lib/Target/RISCV/RISCVISelDAGToDAG.cpp