diff options
author | Nikita Popov <nikita.ppv@gmail.com> | 2020-03-08 13:11:46 +0100 |
---|---|---|
committer | Nikita Popov <nikita.ppv@gmail.com> | 2020-03-09 18:46:56 +0100 |
commit | 829d377a98fd3ee087935ea215677e49c8b51b27 (patch) | |
tree | bcdc0755696274441a732d86638afa62f41aaf40 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 843a9778fcd5ef93804fc22de04af9ab8c8b20a9 (diff) | |
download | llvm-829d377a98fd3ee087935ea215677e49c8b51b27.zip llvm-829d377a98fd3ee087935ea215677e49c8b51b27.tar.gz llvm-829d377a98fd3ee087935ea215677e49c8b51b27.tar.bz2 |
[InstSimplify] Don't simplify musttail calls
As pointed out by jdoerfert on D75815, we must be careful when
simplifying musttail calls: We can only replace the return value
if we can eliminate the call entirely. As we can't make this
guarantee for all consumers of InstSimplify, this patch disables
simplification of musttail calls. Without this patch, musttail
simplification currently results in module verification errors.
Differential Revision: https://reviews.llvm.org/D75824
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions