commit | 0402315d4108d8e469a4e50e41314a1fce7cb747 | [log] [tgz] |
---|---|---|
author | Dan Gohman <gohman@apple.com> | Fri Jul 31 23:37:33 2009 +0000 |
committer | Dan Gohman <gohman@apple.com> | Fri Jul 31 23:37:33 2009 +0000 |
tree | d4797c7c447e7878a0087f29529d2ab6e66a483e | |
parent | 10b8898ac06d712e4588c15d68ed68469e006411 [diff] [blame] |
Use setPreservesAll and setPreservesCFG in CodeGen passes. llvm-svn: 77754
diff --git a/llvm/lib/CodeGen/RegAllocLinearScan.cpp b/llvm/lib/CodeGen/RegAllocLinearScan.cpp index 30c602d..fb97452 100644 --- a/llvm/lib/CodeGen/RegAllocLinearScan.cpp +++ b/llvm/lib/CodeGen/RegAllocLinearScan.cpp
@@ -145,6 +145,7 @@ } virtual void getAnalysisUsage(AnalysisUsage &AU) const { + AU.setPreservesCFG(); AU.addRequired<LiveIntervals>(); if (StrongPHIElim) AU.addRequiredID(StrongPHIEliminationID);