mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-26 10:29:36 +00:00
Fix PR2028
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@47150 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
b4c9a687eb
commit
9d9b204d6a
@ -56,12 +56,12 @@ namespace {
|
||||
|
||||
// LCSSA form makes instruction renaming easier.
|
||||
virtual void getAnalysisUsage(AnalysisUsage &AU) const {
|
||||
AU.addRequiredID(LoopSimplifyID);
|
||||
AU.addPreservedID(LoopSimplifyID);
|
||||
AU.addRequiredID(LCSSAID);
|
||||
AU.addPreservedID(LCSSAID);
|
||||
AU.addPreserved<ScalarEvolution>();
|
||||
AU.addPreserved<LoopInfo>();
|
||||
AU.addRequiredID(LoopSimplifyID);
|
||||
AU.addPreservedID(LoopSimplifyID);
|
||||
AU.addPreserved<DominatorTree>();
|
||||
AU.addPreserved<DominanceFrontier>();
|
||||
}
|
||||
|
5
test/Other/2008-02-14-PassManager.ll
Normal file
5
test/Other/2008-02-14-PassManager.ll
Normal file
@ -0,0 +1,5 @@
|
||||
; RUN: llvm-as < %s | opt -loop-unroll -loop-rotate -simplifycfg -disable-output
|
||||
; PR 2028
|
||||
define i32 @test1() {
|
||||
ret i32 0;
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user