llvm-project/llvm/test/Transforms/InstCombine/2003-09-09-VolatileLoadElim.ll

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

8 lines
198 B
LLVM
Raw Normal View History

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