diff options
author | Florian Hahn <florian.hahn@arm.com> | 2017-06-19 10:51:38 +0000 |
---|---|---|
committer | Florian Hahn <florian.hahn@arm.com> | 2017-06-19 10:51:38 +0000 |
commit | ee1b096f8a15f4a3dfb1a32f8e534d89bf24bea1 (patch) | |
tree | 7d51c764ec04044edb9bd4ac335a1151cbdbf603 /llvm/lib/CodeGen/CMakeLists.txt | |
parent | 2fb3ed200afbb23eddea1cd201bcdfe1871b1cdc (diff) | |
download | llvm-ee1b096f8a15f4a3dfb1a32f8e534d89bf24bea1.zip llvm-ee1b096f8a15f4a3dfb1a32f8e534d89bf24bea1.tar.gz llvm-ee1b096f8a15f4a3dfb1a32f8e534d89bf24bea1.tar.bz2 |
[CodeGen] Add generic MacroFusion pass.
Summary:
This patch adds a generic MacroFusion pass, that is used on X86 and
AArch64, which both define target-specific shouldScheduleAdjacent
functions. This generic pass should make it easier for other targets to
implement macro fusion and I intend to add macro fusion for ARM shortly.
Reviewers: craig.topper, evandro, t.p.northover, atrick, MatzeB
Reviewed By: MatzeB
Subscribers: atrick, aemerson, mgorny, javed.absar, kristof.beyls, llvm-commits
Differential Revision: https://reviews.llvm.org/D34144
llvm-svn: 305677
Diffstat (limited to 'llvm/lib/CodeGen/CMakeLists.txt')
-rw-r--r-- | llvm/lib/CodeGen/CMakeLists.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/CMakeLists.txt b/llvm/lib/CodeGen/CMakeLists.txt index 55a27e2f..7f3c6da 100644 --- a/llvm/lib/CodeGen/CMakeLists.txt +++ b/llvm/lib/CodeGen/CMakeLists.txt @@ -92,6 +92,7 @@ add_llvm_library(LLVMCodeGen PatchableFunction.cpp MIRPrinter.cpp MIRPrintingPass.cpp + MacroFusion.cpp OptimizePHIs.cpp ParallelCG.cpp PeepholeOptimizer.cpp |