Sign in
swiftshader
/
SwiftShader
/
e757926d2478226c4b84bbf4d081b20ca61d68c1
/
.
/
third_party
/
LLVM
/
test
/
Transforms
/
InstCombine
/
2003-09-09-VolatileLoadElim.ll
blob: 60dee1fc79784254c3ad88d90e68b3ad02de8db3 [
file
] [
log
] [
blame
]
; RUN: opt < %s -instcombine -S | grep load
define
void
@test
(
i32
*
%P
)
{
; Dead but not deletable!
%X
=
volatile
load
i32
*
%P
; <i32> [#uses=0]
ret
void
}