[all-commits] [llvm/llvm-project] 7ef8f9: [IR/MachineOutliner] Add a "nooutline" function at...
Jessica Paquette via All-commits
all-commits at lists.llvm.org
Thu Dec 22 10:22:50 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 7ef8f9c972bbcb37eba47d43b100c84c6ff8cb83
https://github.com/llvm/llvm-project/commit/7ef8f9c972bbcb37eba47d43b100c84c6ff8cb83
Author: Jessica Paquette <jpaquette at apple.com>
Date: 2022-12-22 (Thu, 22 Dec 2022)
Changed paths:
M llvm/docs/LangRef.rst
M llvm/lib/CodeGen/MachineOutliner.cpp
M llvm/lib/Transforms/IPO/IROutliner.cpp
A llvm/test/CodeGen/AArch64/machine-outliner-nooutline-attribute.mir
A llvm/test/Transforms/IROutliner/nooutline-attribute.ll
Log Message:
-----------
[IR/MachineOutliner] Add a "nooutline" function attr and respect it
Add `nooutline` + update LangRef to say it exists.
This makes it possible to say "don't outline from this function ever."
We want to be able to toggle whether or not a function should be in the search
set regardless of default behaviour.
Add testcases for the IR Outliner + Machine Outliner.
Also remove an unnecessary check for an empty function in the Machine Outliner.
Differential Revision: https://reviews.llvm.org/D140438
More information about the All-commits
mailing list