llvm.org GIT mirror llvm / 9d9b204
Fix PR2028 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@47150 91177308-0d34-0410-b5e6-96231b3b80d8 Devang Patel 11 years ago
2 changed file(s) with 7 addition(s) and 2 deletion(s). Raw diff Collapse all Expand all
5555
5656 // LCSSA form makes instruction renaming easier.
5757 virtual void getAnalysisUsage(AnalysisUsage &AU) const {
58 AU.addRequiredID(LoopSimplifyID);
59 AU.addPreservedID(LoopSimplifyID);
5860 AU.addRequiredID(LCSSAID);
5961 AU.addPreservedID(LCSSAID);
6062 AU.addPreserved();
6163 AU.addPreserved();
62 AU.addRequiredID(LoopSimplifyID);
63 AU.addPreservedID(LoopSimplifyID);
6464 AU.addPreserved();
6565 AU.addPreserved();
6666 }
0 ; RUN: llvm-as < %s | opt -loop-unroll -loop-rotate -simplifycfg -disable-output
1 ; PR 2028
2 define i32 @test1() {
3 ret i32 0;
4 }