aboutsummaryrefslogtreecommitdiff
path: root/libcxx/include/__algorithm/replace.h
diff options
context:
space:
mode:
authorDaniil Suchkov <dsuchkov@azul.com>2021-06-04 23:17:02 +0000
committerDaniil Suchkov <dsuchkov@azul.com>2021-06-07 21:39:01 +0000
commitd32cc150feb72f315a5bbd34f92e7beca21a50da (patch)
tree14fca10c90c330f40a552351eb7b2318184fdd9d /libcxx/include/__algorithm/replace.h
parente72f16b7e66256dba5496a32546417d438bb035c (diff)
downloadllvm-d32cc150feb72f315a5bbd34f92e7beca21a50da.zip
llvm-d32cc150feb72f315a5bbd34f92e7beca21a50da.tar.gz
llvm-d32cc150feb72f315a5bbd34f92e7beca21a50da.tar.bz2
[BasicAA] Handle PHIs without incoming values gracefully
Fix a bug introduced by f6f6f6375d1a4bced8a6e79a78726ab32b8dd879. Now for empty PHIs, instead of crashing on assert(hasVal()) in Optional's internals, we'll return NoAlias, as we did before that patch. Differential Revision: https://reviews.llvm.org/D103831
Diffstat (limited to 'libcxx/include/__algorithm/replace.h')
0 files changed, 0 insertions, 0 deletions