[all-commits] [llvm/llvm-project] 6df161: [IROutliner] Adding a cost model, and debug option...
Andrew Litteken via All-commits
all-commits at lists.llvm.org
Tue Dec 29 10:44:00 PST 2020
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 6df161a2fbf62bd4ab7297fe1fb234cdc972a48b
https://github.com/llvm/llvm-project/commit/6df161a2fbf62bd4ab7297fe1fb234cdc972a48b
Author: Andrew Litteken <andrew.litteken at gmail.com>
Date: 2020-12-29 (Tue, 29 Dec 2020)
Changed paths:
M llvm/include/llvm/Transforms/IPO/IROutliner.h
M llvm/lib/Transforms/IPO/IROutliner.cpp
M llvm/test/Transforms/IROutliner/extraction.ll
M llvm/test/Transforms/IROutliner/illegal-allocas.ll
M llvm/test/Transforms/IROutliner/illegal-assumes.ll
M llvm/test/Transforms/IROutliner/illegal-branches.ll
M llvm/test/Transforms/IROutliner/illegal-callbr.ll
M llvm/test/Transforms/IROutliner/illegal-calls.ll
M llvm/test/Transforms/IROutliner/illegal-catchpad.ll
M llvm/test/Transforms/IROutliner/illegal-cleanup.ll
M llvm/test/Transforms/IROutliner/illegal-frozen.ll
M llvm/test/Transforms/IROutliner/illegal-gep.ll
M llvm/test/Transforms/IROutliner/illegal-invoke.ll
M llvm/test/Transforms/IROutliner/illegal-landingpad.ll
M llvm/test/Transforms/IROutliner/illegal-memcpy.ll
M llvm/test/Transforms/IROutliner/illegal-memmove.ll
M llvm/test/Transforms/IROutliner/illegal-memset.ll
M llvm/test/Transforms/IROutliner/illegal-phi-nodes.ll
M llvm/test/Transforms/IROutliner/illegal-vaarg.ll
M llvm/test/Transforms/IROutliner/legal-debug.ll
M llvm/test/Transforms/IROutliner/outlining-address-taken.ll
M llvm/test/Transforms/IROutliner/outlining-commutative-fp.ll
M llvm/test/Transforms/IROutliner/outlining-commutative.ll
M llvm/test/Transforms/IROutliner/outlining-constants-vs-registers.ll
A llvm/test/Transforms/IROutliner/outlining-cost-model.ll
A llvm/test/Transforms/IROutliner/outlining-debug-statements.ll
M llvm/test/Transforms/IROutliner/outlining-different-constants.ll
M llvm/test/Transforms/IROutliner/outlining-different-globals.ll
M llvm/test/Transforms/IROutliner/outlining-different-output-blocks.ll
M llvm/test/Transforms/IROutliner/outlining-different-structure.ll
M llvm/test/Transforms/IROutliner/outlining-remapped-outputs.ll
M llvm/test/Transforms/IROutliner/outlining-same-constants.ll
M llvm/test/Transforms/IROutliner/outlining-same-globals.ll
M llvm/test/Transforms/IROutliner/outlining-same-output-blocks.ll
Log Message:
-----------
[IROutliner] Adding a cost model, and debug option to turn the model off.
This adds a cost model that takes into account the total number of
machine instructions to be removed from each region, the number of
instructions added by adding a new function with a set of instructions,
and the instructions added by handling arguments.
Tests not adding flags:
llvm/test/Transforms/IROutliner/outlining-cost-model.ll
Reviewers: jroelofs, paquette
Differential Revision: https://reviews.llvm.org/D87299
More information about the All-commits
mailing list