[LAA] Turn aggregate type check into assertion (NFCI).
authorFlorian Hahn <flo@fhahn.com>
Tue, 23 Nov 2021 17:37:12 +0000 (17:37 +0000)
committerFlorian Hahn <flo@fhahn.com>
Tue, 23 Nov 2021 17:37:30 +0000 (17:37 +0000)
commit0a00d64e322f28f5f65f5b2d507d12757883478a
treefe577516d408a07acd303ec1218482d09ad001b3
parent065f777d2740653fac79fe44cda121bce11013b8
[LAA] Turn aggregate type check into assertion (NFCI).

getPtrStride should not be called with aggregate access types. There's
also an old TODO.

Turn the check into an assertion.
llvm/lib/Analysis/LoopAccessAnalysis.cpp