Sign in
swiftshader
/
SwiftShader
/
f63a3abbc4710f7de0f1a8fc803db84f55d53c24
/
.
/
third_party
/
llvm-7.0
/
llvm
/
test
/
Transforms
/
InstCombine
/
2003-09-09-VolatileLoadElim.ll
blob: 3e0cf1247d90fca58c65bfe635ce7b6c9f5fd751 [
file
] [
log
] [
blame
]
; 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
}