linux-packaging-mono/external/llvm/test/Transforms/InstCombine/2003-09-09-VolatileLoadElim.ll
Xamarin Public Jenkins (auto-signing) 8e12397d70 Imported Upstream version 5.18.0.205
Former-commit-id: 7f59f7e792705db773f1caecdaa823092f4e2927
2018-11-16 08:20:38 +00:00

8 lines
198 B
LLVM

; 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
}