[NFC][SCEV] Reflow `computeSCEVAtScope()` into an exhaustive switch
authorRoman Lebedev <lebedev.ri@gmail.com>
Sat, 21 Jan 2023 20:23:59 +0000 (23:23 +0300)
committerRoman Lebedev <lebedev.ri@gmail.com>
Sat, 21 Jan 2023 20:38:14 +0000 (23:38 +0300)
commitf8eeeffadad33585027a489aaac79ff64d1e3464
tree5b3132bd52f67da25602bc842c3a99866f943e15
parent8885420b6df3e964d671afb0993baa8f206939ec
[NFC][SCEV] Reflow `computeSCEVAtScope()` into an exhaustive switch

Otherwise instead of a compile-time error that you forgot to modify it,
you'd get a run-time error, which happened every time i've added new expr.

This is completely NFC, there are no other changes here.
llvm/lib/Analysis/ScalarEvolution.cpp