[SCEV] Assert unique pointer base (NFC)
authorNikita Popov <nikita.ppv@gmail.com>
Sun, 29 Aug 2021 17:58:56 +0000 (19:58 +0200)
committerNikita Popov <nikita.ppv@gmail.com>
Sun, 29 Aug 2021 18:06:24 +0000 (20:06 +0200)
commite6a5dd60ffa3073c0ab69f9b1836cf2e743bcf0c
tree637f3f00abbfed0ae36ed9da6394f170b6df2146
parent55ba1de7c516b7ef736a127e8fe38229da5aae1d
[SCEV] Assert unique pointer base (NFC)

Add expressions can contain at most one pointer operand nowadays,
assert that in getPointerBase() and removePointerBase().
llvm/lib/Analysis/ScalarEvolution.cpp