From 845012e6d31799c7fbd1193fa1af8ee2d12e9231 Mon Sep 17 00:00:00 2001 From: Dan Gohman Date: Fri, 31 Jul 2009 23:37:33 +0000 Subject: Use setPreservesAll and setPreservesCFG in CodeGen passes. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77754 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/CodeGen/RegAllocLinearScan.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/CodeGen/RegAllocLinearScan.cpp') diff --git a/lib/CodeGen/RegAllocLinearScan.cpp b/lib/CodeGen/RegAllocLinearScan.cpp index 30c602d..fb97452 100644 --- a/lib/CodeGen/RegAllocLinearScan.cpp +++ b/lib/CodeGen/RegAllocLinearScan.cpp @@ -145,6 +145,7 @@ namespace { } virtual void getAnalysisUsage(AnalysisUsage &AU) const { + AU.setPreservesCFG(); AU.addRequired(); if (StrongPHIElim) AU.addRequiredID(StrongPHIEliminationID); -- cgit v1.1