[ARM] Replace if's with a switch, NFC
authorDavid Green <david.green@arm.com>
Fri, 3 Dec 2021 16:16:30 +0000 (16:16 +0000)
committerDavid Green <david.green@arm.com>
Fri, 3 Dec 2021 16:16:30 +0000 (16:16 +0000)
commit11f67f5a2c286e33fece6c56cd5333549307549a
tree363507da9d4ee6f18fbfc3677ef0e3316a71b03d
parentb902b314ffa7ee3a13e2b1cfcfe28a946904b2ce
[ARM] Replace if's with a switch, NFC

I'm not having a lot of luck with the microosft compiler recently. Maybe
this will help it with its errors:
llvm\lib\IR\AutoUpgrade.cpp(3726): fatal error C1061: compiler limit: blocks nested too deeply

If not, it's a good code cleanup anyway.
llvm/lib/IR/AutoUpgrade.cpp