mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-05 13:26:55 +00:00
PR9634: Don't unconditionally tell the AliasSetTracker that the PreheaderLoad
is equivalent to any other relevant value; it isn't true in general. If it is equivalent, the LoopPromoter will tell the AST the equivalence. Also, delete the PreheaderLoad if it is unused. Chris, since you were the last one to make major changes here, can you check that this is sane? git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@129049 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -24,7 +24,7 @@ Out: ; preds = %Loop
|
||||
|
||||
; The Loop block should be empty after the load/store are promoted.
|
||||
; CHECK: @test1
|
||||
; CHECK: load i32* @B
|
||||
; CHECK: load i32* @A
|
||||
; CHECK: Loop:
|
||||
; CHECK-NEXT: br i1 %c, label %Out, label %Loop
|
||||
; CHECK: Out:
|
||||
|
Reference in New Issue
Block a user