mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-13 20:32:21 +00:00
gvn is optimizing this better now.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@90696 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
faf815b938
commit
0fce29b9d1
@ -60,8 +60,8 @@ define i8 @test2a(i8* %P) {
|
||||
call void @llvm.memset.i8(i8* %P, i8 2, i8 127, i32 0)
|
||||
%A = load i8* %P2
|
||||
ret i8 %A
|
||||
; CHECK: %A = load i8* %P2
|
||||
; CHECK: ret i8 %A
|
||||
; CHECK-NOT: load
|
||||
; CHECK: ret i8 2
|
||||
}
|
||||
|
||||
define void @test3(i8* %P, i8 %X) {
|
||||
|
Loading…
Reference in New Issue
Block a user