Sign in
llvm
/
llvm-project
/
llvm
/
b72b4128f221fd5086a1ae46aba7b2fcbf0d6384
/
.
/
test
/
Transforms
/
InstCombine
/
2003-09-09-VolatileLoadElim.ll
blob: 5cdea324c4bace40ac0d74c72233b1fbce2becf5 [
file
] [
log
] [
blame
]
; RUN: opt < %s -passes=instcombine -S | grep load
define
void
@test
(
ptr
%P
)
{
; Dead but not deletable!
%X
=
load
volatile
i32
,
ptr
%P
; <i32> [#uses=0]
ret
void
}