1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-21 20:12:56 +02:00
llvm-mirror/test/Transforms/InstCombine/2003-09-09-VolatileLoadElim.ll
2008-03-01 09:15:35 +00:00

8 lines
211 B
LLVM

; RUN: llvm-as < %s | opt -instcombine | llvm-dis | grep load
define void @test(i32* %P) {
; Dead but not deletable!
%X = volatile load i32* %P ; <i32> [#uses=0]
ret void
}