forked from OSchip/llvm-project
parent
924c68dcb2
commit
fb7dd4c1a3
|
@ -0,0 +1,8 @@
|
|||
; RUN: llvm-as < %s | opt -dse | llvm-dis | not grep DEAD
|
||||
|
||||
void %test(int* %Q, int* %P) {
|
||||
%DEAD = load int* %Q
|
||||
store int %DEAD, int* %P
|
||||
free int* %P
|
||||
ret void
|
||||
}
|
Loading…
Reference in New Issue