aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/CMakeLists.txt
diff options
context:
space:
mode:
authorFlorian Hahn <florian.hahn@arm.com>2017-06-19 10:51:38 +0000
committerFlorian Hahn <florian.hahn@arm.com>2017-06-19 10:51:38 +0000
commitee1b096f8a15f4a3dfb1a32f8e534d89bf24bea1 (patch)
tree7d51c764ec04044edb9bd4ac335a1151cbdbf603 /llvm/lib/CodeGen/CMakeLists.txt
parent2fb3ed200afbb23eddea1cd201bcdfe1871b1cdc (diff)
downloadllvm-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.txt1
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