aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Reader/BitReader.cpp
diff options
context:
space:
mode:
authorNikita Popov <nikita.ppv@gmail.com>2021-01-22 22:33:55 +0100
committerNikita Popov <nikita.ppv@gmail.com>2021-01-24 10:40:21 +0100
commit5d12b976b004e5022b523d3bc368aa6794aad988 (patch)
treed10be8ea0a28017f5deaf3d0c2d7e6b21aa3df45 /llvm/lib/Bitcode/Reader/BitReader.cpp
parentc50457f3e4209b0cd0d4a6baa881bac30a9d3016 (diff)
downloadllvm-5d12b976b004e5022b523d3bc368aa6794aad988.zip
llvm-5d12b976b004e5022b523d3bc368aa6794aad988.tar.gz
llvm-5d12b976b004e5022b523d3bc368aa6794aad988.tar.bz2
[ValueTracking] Don't assume readonly function will return
This is similar to D94106, but for the isGuaranteedToTransferExecutionToSuccessor() helper. We should not assume that readonly functions will return, as this is only true for mustprogress functions (in which case we already infer willreturn). As with the DCE change, for now continue assuming that readonly intrinsics will return, as not all target intrinsics have been annotated yet. Differential Revision: https://reviews.llvm.org/D95288
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitReader.cpp')
0 files changed, 0 insertions, 0 deletions