1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 11:42:57 +01:00
llvm-mirror/test/Regression/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
}