summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/CMakeLists.txt
diff options
context:
space:
mode:
authorDehao Chen <dehao@google.com>2017-05-31 23:25:25 +0000
committerDehao Chen <dehao@google.com>2017-05-31 23:25:25 +0000
commit6b737ddce76034e3b6dc1dfb33db7ccb897baefb (patch)
tree186acb101f79f8e040b75ae59f697d854ece0027 /llvm/lib/CodeGen/CMakeLists.txt
parent157dc73479df2bcf7e5e7f23d66133225e55018e (diff)
downloadbcm5719-llvm-6b737ddce76034e3b6dc1dfb33db7ccb897baefb.tar.gz
bcm5719-llvm-6b737ddce76034e3b6dc1dfb33db7ccb897baefb.zip
Add LiveRangeShrink pass to shrink live range within BB.
Summary: LiveRangeShrink pass moves instruction right after the definition with the same BB if the instruction and its operands all have more than one use. This pass is inexpensive and guarantees optimal live-range within BB. Reviewers: davidxl, wmi, hfinkel, MatzeB, andreadb Reviewed By: MatzeB, andreadb Subscribers: hiraditya, jyknight, sanjoy, skatkov, gberry, jholewinski, qcolombet, javed.absar, krytarowski, atrick, spatel, RKSimon, andreadb, MatzeB, mehdi_amini, mgorny, efriedma, davide, dberlin, llvm-commits Differential Revision: https://reviews.llvm.org/D32563 llvm-svn: 304371
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 2b5863aa580..55a27e2fb79 100644
--- a/llvm/lib/CodeGen/CMakeLists.txt
+++ b/llvm/lib/CodeGen/CMakeLists.txt
@@ -49,6 +49,7 @@ add_llvm_library(LLVMCodeGen
LivePhysRegs.cpp
LiveRangeCalc.cpp
LiveRangeEdit.cpp
+ LiveRangeShrink.cpp
LiveRegMatrix.cpp
LiveRegUnits.cpp
LiveStackAnalysis.cpp
OpenPOWER on IntegriCloud