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:
Chris Lattner 2009-12-06 04:16:05 +00:00
parent faf815b938
commit 0fce29b9d1

View File

@ -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) {