[LAA] Simplify identification of speculatable strides [nfc]
authorPhilip Reames <preames@rivosinc.com>
Thu, 11 May 2023 18:44:53 +0000 (11:44 -0700)
committerPhilip Reames <listmail@philipreames.com>
Thu, 11 May 2023 18:48:21 +0000 (11:48 -0700)
commit733b8b2b4919e76e1768919461fd5eb211e41d79
treec27060cfe222fdce6533f12fa10e5f57ba639502
parent81657922c646827a9266e5c58d53dd4290d56602
[LAA] Simplify identification of speculatable strides [nfc]

Mostly just avoiding the need to keep both Value and SCEVs flowing through with consistent handling.  We can do everything in terms of SCEV - aside from the profitability heuristics which are now isolated in one spot.
llvm/lib/Analysis/LoopAccessAnalysis.cpp