mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-17 06:33:21 +00:00
this test is failing, and is expected to.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@89995 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
8dca876ab7
commit
852dfbdf02
@ -1,4 +1,5 @@
|
|||||||
; RUN: opt < %s -gvn -S | grep load
|
; RUN: opt < %s -gvn -S | FileCheck %s
|
||||||
|
; XFAIL: *
|
||||||
; FIXME: This should be promotable, but memdep/gvn don't track values
|
; FIXME: This should be promotable, but memdep/gvn don't track values
|
||||||
; path/edge sensitively enough.
|
; path/edge sensitively enough.
|
||||||
|
|
||||||
@ -20,5 +21,8 @@ bb2: ; preds = %bb1, %bb
|
|||||||
%c_addr.0 = phi i32* [ %b, %entry ], [ %c, %bb ] ; <i32*> [#uses=1]
|
%c_addr.0 = phi i32* [ %b, %entry ], [ %c, %bb ] ; <i32*> [#uses=1]
|
||||||
%cv = load i32* %c_addr.0, align 4 ; <i32> [#uses=1]
|
%cv = load i32* %c_addr.0, align 4 ; <i32> [#uses=1]
|
||||||
ret i32 %cv
|
ret i32 %cv
|
||||||
|
; CHECK: bb2:
|
||||||
|
; CHECK-NOT: load i32
|
||||||
|
; CHECK: ret i32
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user