[all-commits] [llvm/llvm-project] 1a9eb1: [IROutliner] Adding consistent function attribute ...
Andrew Litteken via All-commits
all-commits at lists.llvm.org
Thu Dec 31 10:35:53 PST 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 1a9eb19af9ba1c6fcd63f84f4053c77881e6ae1c
https://github.com/llvm/llvm-project/commit/1a9eb19af9ba1c6fcd63f84f4053c77881e6ae1c
Author: Andrew Litteken <andrew.litteken at gmail.com>
Date: 2020-12-31 (Thu, 31 Dec 2020)
Changed paths:
M llvm/include/llvm/IR/Attributes.h
M llvm/lib/IR/Attributes.cpp
M llvm/lib/Transforms/IPO/IROutliner.cpp
A llvm/test/Transforms/IROutliner/outlining-compatible-and-attribute-transfer.ll
A llvm/test/Transforms/IROutliner/outlining-compatible-or-attribute-transfer.ll
Log Message:
-----------
[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
More information about the All-commits
mailing list