aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorMax Kazantsev <mkazantsev@azul.com>2022-07-22 11:29:29 +0700
committerMax Kazantsev <mkazantsev@azul.com>2022-07-22 11:30:43 +0700
commita40af8589e88f7ebaf81d11a9aa5a4eaf1735eff (patch)
tree0a254a6f552f2db60e651284784edac3aa6165c2 /clang/lib/CodeGen/CodeGenModule.cpp
parentfd156f5d4ab3fcf813dbd76273bcbffdd4d22b87 (diff)
downloadllvm-a40af8589e88f7ebaf81d11a9aa5a4eaf1735eff.zip
llvm-a40af8589e88f7ebaf81d11a9aa5a4eaf1735eff.tar.gz
llvm-a40af8589e88f7ebaf81d11a9aa5a4eaf1735eff.tar.bz2
[RS4GC] Handle special cases in unreachable code for memcpy/memmov
The existing code doesn't expect dummy values (undef, poison, null-derived constants etc) as arguments of these intrinsics. However, they can be there in unreached code. Currently we fail trying to find base for them. Handle these cases separately. Return null as base for them to be consistent with the handling in the main algorithm in findBaseDefiningValue. Differential Revision: https://reviews.llvm.org/D129561 Reviewed By: apilipenko
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions