aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Reader/BitcodeAnalyzer.cpp
diff options
context:
space:
mode:
authorNikita Popov <nikita.ppv@gmail.com>2021-02-22 18:46:55 +0100
committerNikita Popov <nikita.ppv@gmail.com>2021-02-22 18:48:31 +0100
commit4125afc35723b490556f7a38f7835f0914f70292 (patch)
tree0036e53ce861236f4f9b604a30bb328264e6c449 /llvm/lib/Bitcode/Reader/BitcodeAnalyzer.cpp
parent5616c5b8664b54671e699e5c45178f11cbb680b3 (diff)
downloadllvm-4125afc35723b490556f7a38f7835f0914f70292.zip
llvm-4125afc35723b490556f7a38f7835f0914f70292.tar.gz
llvm-4125afc35723b490556f7a38f7835f0914f70292.tar.bz2
[MemCpyOpt] Fix handling of readnone byval arguments
If the call is readnone, then there may not be any MemoryAccess associated with the call. Bail out in that case. This fixes the issue reported at https://reviews.llvm.org/D94376#2578312.
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeAnalyzer.cpp')
0 files changed, 0 insertions, 0 deletions