diff options
author | Andrew Litteken <andrew.litteken@gmail.com> | 2020-08-24 03:24:59 -0500 |
---|---|---|
committer | Andrew Litteken <andrew.litteken@gmail.com> | 2020-12-31 12:30:23 -0600 |
commit | 1a9eb19af9ba1c6fcd63f84f4053c77881e6ae1c (patch) | |
tree | 388dfdf2555a83d1f46101048514b76ab1ddb63b /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | a90b42b0fec618124a3ed573ecd0e192a61815f7 (diff) | |
download | llvm-1a9eb19af9ba1c6fcd63f84f4053c77881e6ae1c.zip llvm-1a9eb19af9ba1c6fcd63f84f4053c77881e6ae1c.tar.gz llvm-1a9eb19af9ba1c6fcd63f84f4053c77881e6ae1c.tar.bz2 |
[IROutliner] Adding consistent function attribute merging
When combining extracted functions, they may have different function
attributes. We want to make sure that we do not make any assumptions,
or lose any information. This attempts to make sure that we consolidate
function attributes to their most general case.
Tests:
llvm/test/Transforms/IROutliner/outlining-compatible-and-attribute-transfer.ll
llvm/test/Transforms/IROutliner/outlining-compatible-or-attribute-transfer.ll
Reviewers: jdoefert, paquette
Differential Revision: https://reviews.llvm.org/D87301
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions