mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-23 17:24:48 +00:00
Three major changes:
1. Rip out LoopRotate's domfrontier updating code. It isn't needed now that LICM doesn't use DF and it is super complex and gross. 2. Make DomTree updating code a lot simpler and faster. The old loop over all the blocks was just to find a block?? 3. Change the code that inserts the new preheader to just use SplitCriticalEdge instead of doing an overcomplex reimplementation of it. No behavior change, except for the name of the inserted preheader. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@123072 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -34,9 +34,9 @@ for.end: ; preds = %for.cond
|
||||
|
||||
; CHECK: define void @test
|
||||
; CHECK-NEXT: entry:
|
||||
; CHECK-NEXT: br i1 true, label %bb.nph, label %for.end
|
||||
; CHECK-NEXT: br i1 true, label %for.body.lr.ph, label %for.end
|
||||
; CHECK-NOT: :
|
||||
; CHECK: bb.nph:
|
||||
; CHECK: for.body.lr.ph:
|
||||
; CHECK-NEXT: br label %for.body
|
||||
; CHECK-NOT: :
|
||||
; CHECK: for.body:
|
||||
|
Reference in New Issue
Block a user