llvm-6502/test/Transforms/InstCombine/2003-09-09-VolatileLoadElim.ll
2006-12-02 04:23:10 +00:00

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
}