summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/Generic
diff options
context:
space:
mode:
authorMatthias Braun <matze@braunis.de>2016-08-24 01:52:46 +0000
committerMatthias Braun <matze@braunis.de>2016-08-24 01:52:46 +0000
commit733fe3676c629b25edcae79d3ba3ccb24e6c6cb3 (patch)
tree578f14b815a159c1fef147071e29daec739115f0 /llvm/test/CodeGen/Generic
parentbceadcf1cd8f8128c92b1b2f3d4a11ba85f480cb (diff)
downloadbcm5719-llvm-733fe3676c629b25edcae79d3ba3ccb24e6c6cb3.tar.gz
bcm5719-llvm-733fe3676c629b25edcae79d3ba3ccb24e6c6cb3.zip
CodeGen: Remove MachineFunctionAnalysis => Enable (Machine)ModulePasses
Re-apply this patch, hopefully I will get away without any warnings in the constructor now. This patch removes the MachineFunctionAnalysis. Instead we keep a map from IR Function to MachineFunction in the MachineModuleInfo. This allows the insertion of ModulePasses into the codegen pipeline without breaking it because the MachineFunctionAnalysis gets dropped before a module pass. Peak memory should stay unchanged without a ModulePass in the codegen pipeline: Previously the MachineFunction was freed at the end of a codegen function pipeline because the MachineFunctionAnalysis was dropped; With this patch the MachineFunction is freed after the AsmPrinter has finished. Differential Revision: http://reviews.llvm.org/D23736 llvm-svn: 279602
Diffstat (limited to 'llvm/test/CodeGen/Generic')
-rw-r--r--llvm/test/CodeGen/Generic/stop-after.ll1
1 files changed, 0 insertions, 1 deletions
diff --git a/llvm/test/CodeGen/Generic/stop-after.ll b/llvm/test/CodeGen/Generic/stop-after.ll
index 07a60f7381a..3ceba913054 100644
--- a/llvm/test/CodeGen/Generic/stop-after.ll
+++ b/llvm/test/CodeGen/Generic/stop-after.ll
@@ -3,7 +3,6 @@
; STOP: -loop-reduce
; STOP: Loop Strength Reduction
-; STOP-NEXT: Machine Function Analysis
; STOP-NEXT: MIR Printing Pass
; START: -machine-branch-prob -pre-isel-intrinsic-lowering
OpenPOWER on IntegriCloud