summaryrefslogtreecommitdiffstats
path: root/llvm/test/Transforms/InstCombine/2003-09-09-VolatileLoadElim.ll
blob: adb1474a98c4d29a37503e794545c236d3a7cdb8 (plain)
1
2
3
4
5
; 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
}
OpenPOWER on IntegriCloud