llvm/test/Transforms/InstCombine/2003-09-09-VolatileLoadElim.ll
2003-09-16 15:29:54 +00:00

6 lines
151 B
LLVM

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