mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-18 13:34:04 +00:00
merge one more away
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@120375 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
8a2dc0233f
commit
feea8fb6b4
@ -1,9 +0,0 @@
|
||||
; RUN: opt < %s -dse -S | not grep DEAD
|
||||
|
||||
define void @test(i32* %Q) {
|
||||
%P = alloca i32 ; <i32*> [#uses=1]
|
||||
%DEAD = load i32* %Q ; <i32> [#uses=1]
|
||||
store i32 %DEAD, i32* %P
|
||||
ret void
|
||||
}
|
||||
|
@ -165,3 +165,15 @@ define i32* @test13() {
|
||||
|
||||
declare noalias i8* @malloc(i32)
|
||||
|
||||
|
||||
|
||||
define void @test14(i32* %Q) {
|
||||
%P = alloca i32
|
||||
%DEAD = load i32* %Q
|
||||
store i32 %DEAD, i32* %P
|
||||
ret void
|
||||
|
||||
; CHECK: @test14
|
||||
; CHECK-NEXT: ret void
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user