[RISCV] Use a switch instead of a series of if-clauses [nfc] (try 2)
This way the compiler can tell us about missing cases if we add a new value to this enum. Amusingly, the first time I landed this, I had indeed forgotten a switch case, and the build bots were quite happy to remind me of such.
parent
716c0220
Please register or sign in to comment