summaryrefslogtreecommitdiff
path: root/test/Transforms/InstCombine/2003-09-09-VolatileLoadElim.ll
blob: 355087a4cef3d77bfb72f57f87e086a72503923a (plain)
1
2
3
4
5
; 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
}