[all-commits] [llvm/llvm-project] 77dd57: [SCEV] Remove incorrect assert
Nikita Popov via All-commits
all-commits at lists.llvm.org
Mon Nov 29 08:09:28 PST 2021
Author: Nikita Popov <nikita.ppv at gmail.com>
Date: 2021-11-29 (Mon, 29 Nov 2021)
[SCEV] Remove incorrect assert
Fix assertion failure reported on D113349 by removing the assert.
While the produced expression should be equivalent, it may not
be strictly the same, e.g. due to lazy nowrap flag updates. Similar
to what the main createSCEV() code does, simply retain the old
value map entry if one already exists.
More information about the All-commits