aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorThomas Lively <tlively@google.com>2020-08-13 13:57:43 -0700
committerThomas Lively <tlively@google.com>2020-08-13 13:57:43 -0700
commitd53d952810e7afaad66a8c527fa073e8f68f6222 (patch)
tree4ebbe82b67e9a676ff7a8696a791993be43cf7cf /clang/lib/Frontend/CompilerInvocation.cpp
parentf59bec7acb8228fc215fca3ee1e524c38083c50b (diff)
downloadllvm-d53d952810e7afaad66a8c527fa073e8f68f6222.zip
llvm-d53d952810e7afaad66a8c527fa073e8f68f6222.tar.gz
llvm-d53d952810e7afaad66a8c527fa073e8f68f6222.tar.bz2
[WebAssembly] Allow inlining functions with different features
Allow inlining only when the Callee has a subset of the Caller's features. In principle, we should be able to inline regardless of any features because WebAssembly supports features at module granularity, not function granularity, but without this restriction it would be possible for a module to "forget" about features if all the functions that used them were inlined. Requested in PR46812. Differential Revision: https://reviews.llvm.org/D85494
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions