Changes

Summary

  1. [RISCV] Add some tests for SimplifyCFG's switch to lookup table transform (details)
Commit 0da367145cb32f45a192e6f758a7474297730fc4 by craig.topper
[RISCV] Add some tests for SimplifyCFG's switch to lookup table transform

These are some of the basic cases taken from X86.

We currently fail to use lookup tables on many of these cases
because SimplifyCFG requires a legal type to do the transform and
RISCV only has one legal integer type.
The file was addedllvm/test/Transforms/SimplifyCFG/RISCV/switch_to_lookup_table-rv32.ll
The file was addedllvm/test/Transforms/SimplifyCFG/RISCV/switch_to_lookup_table-rv64.ll