since reg2mem requires it, might as well mention that it preserves it
authorAndrew Lenharth <andrewl@lenharth.org>
Fri, 25 Nov 2005 16:04:54 +0000 (16:04 +0000)
committerAndrew Lenharth <andrewl@lenharth.org>
Fri, 25 Nov 2005 16:04:54 +0000 (16:04 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24491 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Transforms/Scalar/Reg2Mem.cpp

index d34f718183e805d8c8d40300b580b86476f108db..0b16ab9ac88e7e4bbe38d07723b15f1a7a672247 100644 (file)
@@ -36,6 +36,7 @@ namespace {
 
     virtual void getAnalysisUsage(AnalysisUsage &AU) const {
       AU.addRequiredID(BreakCriticalEdgesID);
+      AU.addPreservedID(BreakCriticalEdgesID);
     }
 
    bool valueEscapes(Instruction* i) {