aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/SmallVector.cpp
diff options
context:
space:
mode:
authorRoman Lebedev <lebedev.ri@gmail.com>2021-08-30 12:00:26 +0300
committerRoman Lebedev <lebedev.ri@gmail.com>2021-08-30 12:06:58 +0300
commit7b0d59da9af4bf4eb8342cac579e42a818ac1ae7 (patch)
tree65772119c937f1a92963bb0ed6f74d93b2731519 /llvm/lib/Support/SmallVector.cpp
parentada219b13a2debc94cb252feb0dd987ef9290126 (diff)
downloadllvm-7b0d59da9af4bf4eb8342cac579e42a818ac1ae7.zip
llvm-7b0d59da9af4bf4eb8342cac579e42a818ac1ae7.tar.gz
llvm-7b0d59da9af4bf4eb8342cac579e42a818ac1ae7.tar.bz2
[IndVars] Drop check for the validity of rewrite
`isValidRewrite()` checks that the both the original SCEV, and the rewrite SCEV have the same base pointer. I //believe//, after all the recent SCEV improvements, this invariant is already enforced by SCEV itself. I originally tried changing it into an assert in D108043, but that showed that it triggers on e.g. https://reviews.llvm.org/D108043#2946621, where SCEV manages to forward the store to load, test added. Reviewed By: nikic Differential Revision: https://reviews.llvm.org/D108655
Diffstat (limited to 'llvm/lib/Support/SmallVector.cpp')
0 files changed, 0 insertions, 0 deletions