[BasicAA] Handle gep with unknown sizes earlier (NFCI)
authorNikita Popov <nikita.ppv@gmail.com>
Sun, 28 Mar 2021 11:06:52 +0000 (13:06 +0200)
committerNikita Popov <nikita.ppv@gmail.com>
Sun, 28 Mar 2021 13:48:49 +0000 (15:48 +0200)
commit3df3f3df4539c3df7519caf33ea73d80eba653bd
tree0b6c8fda52ad536ceffbaf18e16b937d85a36f77
parenteb3d9f2eb619132d75fbe228c7aac1eee1667f3c
[BasicAA] Handle gep with unknown sizes earlier (NFCI)

If the sizes of both memory locations are unknown, we can only
perform a check on the underlying objects. There's no point in
going through GEP decomposition in this case.
llvm/lib/Analysis/BasicAliasAnalysis.cpp