6 lines
166 B
LLVM
6 lines
166 B
LLVM
|
; RUN: llvm-upgrade < %s | llvm-as | opt -instcombine | llvm-dis | grep load
|
||
|
void %test(int* %P) {
|
||
|
%X = volatile load int* %P ; Dead but not deletable!
|
||
|
ret void
|
||
|
}
|